consts

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	FuncEnv    = "env"
	FuncEnvInt = "envInt"
	FuncTodo   = "todo"
)
View Source
const (
	SpecialGontainerID    = "$gontainer"
	SpecialGontainerValue = "__rootGontainer"
)
View Source
const (
	TplGetServiceCall  = "gontainerFn_getService(%+q)"       // (any, error)
	TplGetByTagCall    = "gontainerFn_getByTag(%+q)"         // ([]any, error)
	TplConcatenateCall = "gontainerFn_concatenateChunks(%s)" // (string, error)
	TplValueCall       = "func() (interface{}, error) { return %s, nil }()"
	TplGetParamFunc    = "func() (interface{}, error) { return gontainerFn_getParam(%+q) }"
	TplGetFunc         = "func() (r interface{}, err error) { %s }"

	BuiltInGetEnv    = "gontainerFn_getEnv"
	BuiltinGetEnvInt = "gontainerFn_getEnvInt"
	BuiltInParamTodo = "gontainerFn_paramTodo"
)
View Source
const GontainerHelperPath = "github.com/gomponents/gontainer-helpers"

GontainerHelperPath is the import path to gontainer-helpers modules. Updating a path here should update it in all used places in printed container.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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