Versions in this module Expand all Collapse all v1 v1.0.0 Mar 3, 2023 Changes in this version + type CodeDescriptor struct + MetadataRoot string + Module bool + Path string + Source string + func DescribeCode(path string) (*CodeDescriptor, error) + type ModuleInfo struct + Dir string + GoMod string + ImportPath string + ModulePath string + type PackageInfo struct + CFiles []string + CgoFiles []string + Dir string + GoFiles []string + Goroot bool + HFiles []string + IgnoredGoFiles []string + ImportPath string + Incomplete bool + SFiles []string + func (p PackageInfo) Files() []string + type Platform struct + func (p *Platform) GetDeploymentPayload(codepath string) ([]byte, error) + func (p *Platform) Name() string + func (p *Platform) NormalizePath(rawPath string) (string, error) + func (p *Platform) ValidateCodePackage(code []byte) error + func (p *Platform) ValidatePath(rawPath string) error + type SourceDescriptor struct + Name string + Path string + type SourceMap map[string]SourceDescriptor + func (s SourceMap) Directories() []string + func (s SourceMap) Sources() Sources + type Sources []SourceDescriptor + func (s Sources) Len() int + func (s Sources) Less(i, j int) bool + func (s Sources) Swap(i, j int)