//
pkg.gl
Category
github.com/compose-spec/compose-go
interpolation
package
1.20.2
Repository:
https://github.com/compose-spec/compose-go.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
4
Dependents
3
Files
100 SLOC
#
Functions
Interpolate
Interpolate replaces variables in a string with the values from a mapping.
#
Structs
Options
Options supported by Interpolate.
#
Type aliases
Cast
Cast a value to a new type, or return an error if the value can't be cast.
LookupValue
LookupValue is a function which maps from variable names to values.