gomod

package
v1.0.0-alpha.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by goadlc v3 - DO NOT EDIT.

Code generated by goadlc v3 - DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AST_GoModResult

func AST_GoModResult() adlast.ScopedDecl

func AST_GoModule

func AST_GoModule() adlast.ScopedDecl

func HandleWithErr_GoModule

func HandleWithErr_GoModule[T any](
	_in GoModule,
	GoModFile func(GoModFile string) (T, error),
	Outputdir func(Outputdir string) (T, error),
	_default func() (T, error),
) (T, error)

func Handle_GoModule

func Handle_GoModule[T any](
	_in GoModule,
	GoModFile func(GoModFile string) T,
	Outputdir func(Outputdir string) T,
	_default func() T,
) T

func Texpr_GoModResult

func Texpr_GoModResult() adlast.ATypeExpr[GoModResult]

func Texpr_GoModule

func Texpr_GoModule() adlast.ATypeExpr[GoModule]

Types

type GoModResult

type GoModResult struct {
	// contains filtered or unexported fields
}

func MakeAll_GoModResult

func MakeAll_GoModResult(
	modulepath string,
	rootdir string,
) GoModResult

func Make_GoModResult

func Make_GoModResult(
	modulepath string,
	rootdir string,
) GoModResult

type GoModule

type GoModule struct {
	Branch GoModuleBranch
}

func Make_GoModule_GoModFile

func Make_GoModule_GoModFile(v string) GoModule

func Make_GoModule_Outputdir

func Make_GoModule_Outputdir(v string) GoModule

func (GoModule) Cast_GoModFile

func (un GoModule) Cast_GoModFile() (string, bool)

func (GoModule) Cast_Outputdir

func (un GoModule) Cast_Outputdir() (string, bool)

func (*GoModule) MakeNewBranch

func (*GoModule) MakeNewBranch(key string) (any, error)

func (*GoModule) Modpath

func (in *GoModule) Modpath(debug bool) (*GoModResult, error)

type GoModuleBranch

type GoModuleBranch interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL