diff options
Diffstat (limited to 'doc/languages-frameworks/go.xml')
-rw-r--r-- | doc/languages-frameworks/go.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/languages-frameworks/go.xml b/doc/languages-frameworks/go.xml index eee4706e551..26414f23c7d 100644 --- a/doc/languages-frameworks/go.xml +++ b/doc/languages-frameworks/go.xml @@ -40,7 +40,9 @@ pet = buildGoModule rec { subPackages = [ "." ]; <co xml:id='ex-buildGoModule-2' /> - runVend = true; <co xml:id='ex-buildGoModule-3' /> + deleteVendor = true; <co xml:id='ex-buildGoModule-3' /> + + runVend = true; <co xml:id='ex-buildGoModule-4' /> meta = with lib; { description = "Simple command-line snippet manager, written in Go"; @@ -68,6 +70,11 @@ pet = buildGoModule rec { </callout> <callout arearefs='ex-buildGoModule-3'> <para> + <varname>deleteVendor</varname> removes the pre-existing vendor directory and fetches the dependencies. This should only be used if the dependencies included in the vendor folder are broken or incomplete. + </para> + </callout> + <callout arearefs='ex-buildGoModule-4'> + <para> <varname>runVend</varname> runs the vend command to generate the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build. </para> </callout> |