Skip to content

Improve error msg

Latest
Compare
Choose a tag to compare
@po3rin po3rin released this 08 Aug 16:19
61c01ab

show synctax error code.

before

2020/08/09 01:15:13 [gofmtmd] failed to format go source code. Please check syntax : 1:22: expected statement, found 'import' (and 1 more errors)

after

2020/08/09 01:15:39 [gofmtmd] line='funcmain(){}', msg='1:22: expected statement, found 'import' (and 1 more errors)'