Versions in this module Expand all Collapse all v0 v0.2.0 Nov 1, 2026 v0.1.0 Oct 24, 2026 Changes in this version + const Bitbucket + const FileGomod + const FileGowork + const FileMain + const FilePackageJSON + const FolderCMD + const GitHub + const GitLab + const Gitea + var ErrInvalidPackageManager = errors.New("package.json 'packageManager' is missing or isn't valid") + var ErrMissingGoStatement = errors.New("invalid go(.mod or .work), go statement is missing") + var ErrMissingModuleStatement = errors.New("invalid go.mod, module statement is missing") + var ErrMissingPackageName = errors.New("package.json 'name' is missing") + var ErrNoGowork = errors.New("no go.work file") + var ErrNoHugo = errors.New("no hugo or hugo theme configuration found") + func MergeValues(in any, filepaths ...string) (map[string]any, error) + type Executables struct + Clis map[string]any + Crons map[string]any + Jobs map[string]any + Workers map[string]any + func ReadGoCmd(destdir string) (Executables, error) + func (g *Executables) AddCLI(name string) + func (g *Executables) AddCron(name string) + func (g *Executables) AddJob(name string) + func (g *Executables) AddWorker(name string) + func (g Executables) Binaries() int + type Gomod struct + ContainerImage string + Go string + Module string + Toolchain string + Tools []string + func ReadGomod(destdir string) (Gomod, error) + func (g Gomod) AsVCS() VCS + type Gowork struct + ContainerImage string + Go string + Toolchain string + Uses []GoworkUse + func ReadGowork(destdir string) (Gowork, error) + func (g Gowork) Module() string + type GoworkUse struct + Gomod Gomod + ModulePath string + Use string + type HugoCompose struct + ContainerImage string + func ReadHugo(destdir string) (HugoCompose, error) + func (h HugoCompose) Module() HugoModule + type HugoConfig struct + BaseURL string + Copyright string + Module HugoModule + PublishDir string + Title string + type HugoModule struct + HugoVersion HugoVersion + type HugoTheme struct + DemoSite string + Description string + HomePage string + License string + Module HugoModule + Name string + type HugoVersion struct + Max string + Min string + type PackageJSON struct + Author *string + Config struct{ ... } + Description *string + Files []string + Keywords []string + License *string + Main *string + Module string + Name string + PackageManager string + Private bool + PublishConfig struct{ ... } + Repository ... + Scripts map[string]string + Version string + func (p *PackageJSON) Validate() error + type VCS struct + Name string + Platform string + ProjectHost string + ProjectName string + ProjectPath string + Tags []string + func Git(destdir string) (VCS, error)