Go: Difference between revisions
imported>Makefu lang=nix |
imported>Makefu No edit summary |
||
| Line 1: | Line 1: | ||
[https://golang.org/ Go] is a statically-typed language with syntax loosely derived from that of C, adding garbage collected memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. | [https://golang.org/ Go] is a statically-typed language with syntax loosely derived from that of C, adding garbage collected memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. | ||
== Packaging go modules == | |||
There are helper tools such as [https://github.com/kamilchm/go2nix go2nix], however the nixpkgs library function '''buildGoModule''' does an absolutely fantastic job in packaging standard go modules. | |||
See [https://nixos.org/manual/nixpkgs/stable/#sec-language-go nixpkgs manual '''Language: Go'''] | |||
==Install using Home Manger== | ==Install using Home Manger== | ||