Go: Difference between revisions

imported>Mic92
imported>Elitelinuxuser
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.
==Install using Home Manger==
Enable go in home manager config `home.nix` in `~/.config/nixpkgs`.
<syntaxhighlight lang="console">
programs.go.enable = true;
</syntaxhighlight>


==Using cgo on NixOS==
==Using cgo on NixOS==