code: func newGoLibrary(name string, lib *raml.Library, parentDir, rootTargetDir string,
  	libRootURLs []string) *goLibrary {
  	gl := &goLibrary{
  		Library:       lib,
  		PackageName:   commons.NormalizePkgName(name),
  		parentDir:     parentDir,
  		rootTargetDir: rootTargetDir,
  		libRootURLs:   libRootURLs,
  		name:          name,
  	}
  	return gl
  }
docs: // create new library instance