sudo pacman -Syu
|
635255864b
|
feat: improve perf by use astFile for dstFile
|
2023-01-17 17:52:29 +07:00 |
sudo pacman -Syu
|
bd64964fc1
|
feat: use errgroup to improve perf
|
2023-01-17 17:30:58 +07:00 |
sudo pacman -Syu
|
cf624ad2ea
|
chore: re-format
|
2023-01-17 17:21:39 +07:00 |
sudo pacman -Syu
|
6bbfd7b94c
|
fix: update 2 times with dstFile
|
2023-01-17 17:20:05 +07:00 |
sudo pacman -Syu
|
031a349461
|
chore: log flags when verbose
|
2023-01-17 16:09:35 +07:00 |
sudo pacman -Syu
|
7fc100d359
|
feat: use uber-go/automaxprocs
|
2023-01-17 16:06:36 +07:00 |
sudo pacman -Syu
|
a9f7cab6f0
|
chore: reformat a little bit
|
2023-01-17 11:57:14 +07:00 |
sudo pacman -Syu
|
b17a39b0dd
|
feat: ignore empty imports
|
2023-01-17 11:57:14 +07:00 |
sudo pacman -Syu
|
5209660b88
|
chore: use bytes.Equal instead of bytes.Compare
|
2023-01-17 11:57:14 +07:00 |
sudo pacman -Syu
|
02501123af
|
fix: panic if format import spec empty
|
2023-01-17 11:57:14 +07:00 |
sudo pacman -Syu
|
92bcf25979
|
feat: switch to use dst
|
2023-01-17 11:57:14 +07:00 |
sudo pacman -Syu
|
6119f3562b
|
chore: more comment
|
2022-11-28 12:22:10 +07:00 |
sudo pacman -Syu
|
7e1dc2df7d
|
chore: fix typo
|
2022-11-28 11:36:53 +07:00 |
sudo pacman -Syu
|
065e5ec321
|
feat: custom printer ast
|
2022-11-28 11:14:32 +07:00 |
sudo pacman -Syu
|
a341a91279
|
refactor: no need importNameAndPath
|
2022-11-28 10:55:16 +07:00 |
sudo pacman -Syu
|
2345460d3d
|
refactor: rewrite parser mode
|
2022-11-28 10:35:50 +07:00 |
sudo pacman -Syu
|
a5302aef53
|
feat: add parser.SkipObjectResolution
|
2022-11-28 10:31:05 +07:00 |
sudo pacman -Syu
|
07458099e9
|
chore: format this project using this project :)
|
2022-11-28 01:11:04 +07:00 |
sudo pacman -Syu
|
2155c56e16
|
fix: ignore not go file and go generated error
|
2022-11-28 00:58:50 +07:00 |
sudo pacman -Syu
|
6ba5552560
|
feat: implement format dir
|
2022-11-28 00:54:56 +07:00 |
sudo pacman -Syu
|
de45843925
|
feat: write file actually
|
2022-11-28 00:39:59 +07:00 |
sudo pacman -Syu
|
7e155245db
|
feat: remove sort imports
use gofumpt or gofmt
|
2022-11-28 00:37:04 +07:00 |
sudo pacman -Syu
|
5a62dae185
|
chore: add roadmap
|
2022-11-27 01:23:06 +07:00 |
sudo pacman -Syu
|
7bb5fc7d63
|
feat: ignore empty import
|
2022-11-27 01:20:35 +07:00 |
sudo pacman -Syu
|
57e4bbd4d7
|
feat: sort imports using default Go (wip)
|
2022-11-27 01:14:51 +07:00 |
sudo pacman -Syu
|
6463559962
|
chore: print path when diff
|
2022-11-27 01:08:34 +07:00 |
sudo pacman -Syu
|
e8097aea19
|
feat: print diff
|
2022-11-27 01:07:15 +07:00 |
sudo pacman -Syu
|
2e435dd37b
|
refactor: rewrite formatImportSpecs to eliminate dupe
|
2022-11-27 00:57:52 +07:00 |
sudo pacman -Syu
|
c8a2bac5f1
|
fix: not copy import spec directly but use basic lit
|
2022-11-27 00:51:18 +07:00 |
sudo pacman -Syu
|
5e87f5eca8
|
chore: remove useless check import empty
|
2022-11-27 00:33:37 +07:00 |
sudo pacman -Syu
|
c0206fbef4
|
fix: force update ast decls when single import
|
2022-11-27 00:23:28 +07:00 |
sudo pacman -Syu
|
30f79e9322
|
feat: actually print file from ast
|
2022-11-27 00:08:16 +07:00 |
sudo pacman -Syu
|
ec9ec20189
|
feat: rewrite all logic to single loop ast.Decl (wip)
|
2022-11-26 23:27:15 +07:00 |
sudo pacman -Syu
|
1889ddb517
|
feat: support combine multi import decl (wip)
copy from goimports-reviser
|
2022-11-26 17:00:15 +07:00 |
sudo pacman -Syu
|
8edb24314f
|
feat: split local, company, third party imports
|
2022-11-26 16:26:41 +07:00 |
sudo pacman -Syu
|
a030fec81f
|
refactor: pkgName -> moduleName
|
2022-11-26 12:42:05 +07:00 |
sudo pacman -Syu
|
f6471ab9d6
|
feat: cache module name of path
|
2022-11-26 12:40:34 +07:00 |
sudo pacman -Syu
|
7f351b49f6
|
feat: get module name from path
|
2022-11-26 12:39:34 +07:00 |
sudo pacman -Syu
|
2fe4e8ec27
|
feat: query go.mod
|
2022-11-26 12:34:28 +07:00 |
sudo pacman -Syu
|
c921e92d75
|
feat: sort import (wip)
|
2022-11-26 02:18:55 +07:00 |
sudo pacman -Syu
|
1d3685f57b
|
feat: parse imports and group imports std
- build std from packages when init
- add verbose and company flag
|
2022-11-26 02:10:19 +07:00 |
sudo pacman -Syu
|
cf01a965ba
|
chore: add TODO
|
2022-11-25 01:27:01 +07:00 |
sudo pacman -Syu
|
5a08a1bc47
|
refactor: remove regex code generated
|
2022-11-25 01:21:57 +07:00 |
sudo pacman -Syu
|
27a82681f1
|
feat: simple format file (without actually format)
check go file -> parse ast -> ignore generated
|
2022-11-25 01:17:35 +07:00 |
sudo pacman -Syu
|
6b8625be56
|
chore: update comment
|
2022-11-25 00:40:00 +07:00 |
sudo pacman -Syu
|
90e0bb0a6b
|
fix: formatter option missing value
|
2022-11-25 00:21:59 +07:00 |
sudo pacman -Syu
|
164bd6b6e8
|
feat: init Formatter
|
2022-11-25 00:14:47 +07:00 |
sudo pacman -Syu
|
338e835b9c
|
refactor: accept both write and diff
|
2022-11-25 00:10:14 +07:00 |
sudo pacman -Syu
|
074f0c3009
|
chore: remove fmt.Println
|
2022-11-24 23:40:05 +07:00 |
sudo pacman -Syu
|
adb54bb92b
|
chore: fix lint
|
2022-11-24 23:17:20 +07:00 |