variables

package
v0.0.0-...-c122cb8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValue

func GetValue(str string, source ValueSource) (v float64)

func IsVariable

func IsVariable(str string) bool

str:{{.variable_name}}

Types

type ValueSource

type ValueSource interface {
	GetValue(str string) float64
}

type ValueSourceFunc

type ValueSourceFunc func(string) float64

func (ValueSourceFunc) GetValue

func (vs ValueSourceFunc) GetValue(str string) float64

Jump to

Keyboard shortcuts

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