Unai Martinez-Corral
652c755d37
Use golangci-lint ( #1044 )
...
Use golangci-lint. Repair warnings and errors resulting from linting.
2021-02-07 17:08:50 -07:00
umarcor
19cf35ea77
fix: ensure that testproject is removed even after a failure ( #948 )
...
* fix: ensure that testproject is removed even after a failure
* fix: defer licenseFile
* style: simply defer os.RemoveAll
* cobra/cmd: add getProject test func
2019-09-17 09:02:42 -06:00
Bruce Downs
993cc5372a
Adjustments per PR review feedback from @bogem
2019-08-02 01:25:21 +05:00
Bruce Downs
51f06c7dd1
Correct all complaints from golint
...
* i.e.
* go get golang.org/x/lint/golint
* go list ./... | xargs golint
2019-08-02 01:25:21 +05:00
Joshua Harshman
2411ac592a
remove unused struct fields
2019-06-07 10:31:03 -04:00
jharshman
11aa612384
test add
2019-06-07 10:31:03 -04:00
jharshman
303a3e5160
vgo - strip out unused methods
2019-06-07 10:31:03 -04:00
jharshman
2fea75b02e
vgo - add command working
2019-06-07 10:31:03 -04:00
jharshman
3c42f846c2
fix duplicated dir
2019-06-07 10:31:03 -04:00
jharshman
732e4db0d4
vgo - trim some uneeded data from struct
2019-06-07 10:31:03 -04:00
jharshman
c7ac101cf8
vgo - fixing up the add op to work with vgo
2019-06-07 10:31:03 -04:00
jharshman
3741457400
add CommandTemplate
2019-06-07 10:31:03 -04:00
jharshman
e993d53002
vgo - take named directory or current wd
2019-06-07 10:31:03 -04:00
jharshman
73b5215dc7
vgo - fix format
2019-06-07 10:31:03 -04:00
jharshman
44c2d482f6
fix calling to createLicenseFile
2019-06-07 10:31:03 -04:00
jharshman
91dbcb7ffe
remove commented code
2019-06-07 10:31:03 -04:00
jharshman
5b1685faaa
vgo - generate license
2019-06-07 10:31:03 -04:00
jharshman
abab9aa52a
vgo - add Create method to Project struct
2019-06-07 10:31:03 -04:00
jharshman
17dc9f8142
fixing up templates more
2019-06-07 10:31:03 -04:00
jharshman
80ea2901b6
vgo-support - re-working code generator
2019-06-07 10:31:03 -04:00
Albert Nigmatzianov
0c34d16c31
cmd: Fix #612 ( #614 )
...
If user has a project in symlink, just use its destination folder and
work there.
2018-01-15 17:09:33 +01:00
Albert Nigmatzianov
4cdb38c072
cmd: Use correct HasPrefix function for paths
...
Updates #448
2017-05-15 09:51:20 +02:00
Albert Nigmatzianov
fa9ac853ce
cmd: Make detailed error when project not in $GOPATH
...
Updates #448
2017-05-15 08:37:15 +02:00
Albert Nigmatzianov
b5366273a6
cmd: Fix some gometalinter complaints
2017-05-14 12:27:15 +02:00
Albert Nigmatzianov
7bd35d3b95
cmd: Fix incorrect cmd dir
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
d20925b932
cmd: Small correctives
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
903e5b7073
cmd: Fix trimSrcPath doc
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
0dd1c429a3
cmd: Add more docs
2017-05-05 10:35:27 +02:00
Albert Nigmatzianov
32756eb440
cmd: Rewrite
2017-05-05 10:35:27 +02:00