Documentation
¶
Index ¶
- func Bool(name string) bool
- func Float64(name string) (float64, error)
- func Float64Slice(name string) ([]float64, error)
- func Int(name string) (int, error)
- func Int64(name string) (int64, error)
- func Int64Slice(name string) ([]int64, error)
- func IntSlice(name string) ([]int, error)
- func String(name string) string
- func StringSlice(name string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64Slice ¶
Float64Slice returns the input value as a slice of float64s, splitting on commas. If any entry is not a float, an error is returned.
func Int64Slice ¶
Int64Slice returns the input value as a slice of int64s, splitting on commas. If any entry is not an integer, an error is returned.
func IntSlice ¶
IntSlice returns the input value as a slice of ints, splitting on commas. If any entry is not an integer, an error is returned.
func String ¶
String returns the input value as a string. It is the same as calling githubactions.GetInput and is provided for consistency/convenience.
func StringSlice ¶
StringSlice returns the input value as a slice of strings, splitting on commas. Each entry is stripped of leading and trailing whitespace.
Types ¶
This section is empty.