Commit Graph

45 Commits (065e5ec321f50e4ddf8a0293ccd34bff4088b673)

Author SHA1 Message Date
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 854e1a8974
chore: fix whitespace 2022-11-28 01:23:10 +07:00
sudo pacman -Syu 07458099e9
chore: format this project using this project :) 2022-11-28 01:11:04 +07:00
sudo pacman -Syu d5d0bfc7ea
chore(changelog): generate v0.0.1 2022-11-28 01:00: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 1c6c554a49
chore: add install, usage in README 2022-11-28 00:36:32 +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 d17fe80652
chore: update README 2022-11-25 01:29:27 +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
sudo pacman -Syu 5b8e13c4eb
chore: add MIT license 2022-11-24 23:16:50 +07:00
sudo pacman -Syu e3fd917ba7
chore: add github action, Makefile 2022-11-24 23:16:32 +07:00
sudo pacman -Syu 90e43ed163
feat: flags from gofmt 2022-11-24 23:11:15 +07:00
sudo pacman -Syu 878278b0d2
chore: init go.mod 2022-11-24 22:25:13 +07:00