stdlib

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

README

  • For the stable version, the folder name and pkgName is “vela/op”, which is the same as before in order to the previous users can still use their Definition without editing.
  • For other versions, the name is “vela/op/v2”,”vela/op/v3” etc. Users need to import them explicitly and change the “op.action” to “v2.action” and so on to use another version of Cue Action.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddImportsFor

func AddImportsFor(inst *build.Instance, tagTempl string) error

AddImportsFor install imports for build.Instance.

func GetPackages

func GetPackages() (map[string]*ast.File, error)

GetPackages Get Stdlib packages

func InitBuiltinImports added in v0.3.4

func InitBuiltinImports(pkgs map[string]*ast.File) ([]*build.Instance, error)

InitBuiltinImports init built in imports

func SetupBuiltinImports added in v0.3.4

func SetupBuiltinImports(pkgs map[string]string) error

SetupBuiltinImports setup builtin imports

Types

This section is empty.

Jump to

Keyboard shortcuts

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