summary refs log tree commit diff
path: root/doc/languages-frameworks/go.section.md
Commit message (Collapse)AuthorAge
* buildGoModule: use `proxyVendor` instead of `runVend`zowoq2022-01-06
|
* doc/go: remove platform from examplezowoq2022-01-06
| | | | this should only be set if the package doesn't work with the default platforms
* doc/go: remove `runVend` from examplezowoq2022-01-02
|
* buildGoModule: add proxyVendorzowoq2021-08-06
|
* buildGo{Module,Package}: add `tags` argumentzowoq2021-08-06
| | | | | | Simpler method of setting tags rather than using some combination of buildFlags, buildFlagsArray, preBuild, etc Using `lib.concatStringsSep ","` as space separated tags are deprecated in go.
* doc: prepare for commonmarkJan Tojnar2021-06-07
| | | | | | | | | | | | | | We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly. Notably: - Line breaks in lists behave differently. - Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75 - The auto_identifiers uses a different algorithm – I made the previous ones explicit. - Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist While at it, I also fixed the following issues: - ShellSesssion was used - Removed some pointless docbook tags.
* buildGoModule/buildGoPackage: Introduce ldflags argumentSilvan Mosberger2021-06-05
| | | | | | | | | | | | | Previously it was not possible to define multiple ldflags, since only the last definition applies, and there's some quoting issues with `buildFlagsArray`. With the new `ldflags` argument it's possible to do this, e.g. ldflags = drv.ldflags or [] ++ [ "-X main.Version=1.0" ] can now properly append a flag without clearing all previous ldflags.
* doc/go: convert to markdownJörg Thalheim2020-11-28