Commit Graph

8 Commits

Author SHA1 Message Date
Naïm Favier bd11e2c5e6
Replace usage of `literalExample`
Instead use the new function `literalExpression`. See

  https://github.com/NixOS/nixpkgs/pull/136909
2021-10-13 00:16:10 +02:00
Diep Pham 1fd874b7ea
go: add goPrivate option
This option configures the `GOPRIVATE` variable. See

   https://golang.org/cmd/go/#hdr-Module_configuration_for_non_public_modules

for more information.

PR #1126
2020-04-06 19:28:31 +02:00
Robert Helgesson 45abf3d38a
Apply `nixfmt` on many files 2020-02-02 01:07:28 +01:00
Robert Helgesson e857249d86
go: use attribute set to define files
To avoid warning message concerning deprecation of the `loaOf` type.
2020-01-13 21:45:17 +01:00
Vojtěch Káně 4ad3fe78f9
go: adds an option `extraGoPaths`
PR #946
2020-01-13 21:44:13 +01:00
Robert Helgesson 55b71223d4
Fix option `defaultText` when referencing packages
By using `literalExample` the documentation will show the option
default without surrounding quotes.
2019-08-28 00:14:22 +02:00
Roman Volosatovs f7dc354f42
go: Fix package example 2018-09-21 09:46:11 +02:00
Roman Volosatovs 0635423e73
go: add module 2018-09-21 00:11:25 +02:00