golang-base.eclass
Description
This eclass provides base functions for software written in the Go
programming language; it also provides the build-time dependency on
dev-lang/go.
Functions
- ego_pn_check
 - 
            
Make sure
EGO_PNhas a value. - get_golibdir
 - 
            
Return the non-prefixed library directory where Go packages should be installed
 - get_golibdir_gopath
 - 
            
Return the library directory where Go packages should be installed This is the prefixed version which should be included in
GOPATH - golang_install_pkgs
 - 
            
Install Go packages. This function assumes that
${PWD}is a Go workspace. 
Variables
- EGO_PN (REQUIRED)
 - 
            
This is the import path for the go package to build. Please emerge
dev-lang/goand readgo help importpathfor syntax.Example:
EGO_PN=github.com/user/package 
Maintainers
William Hubbs <williamh@gentoo.org>
Reporting Bugs
Please report bugs via https://bugs.gentoo.org/