master > master: code go - methode -> private, da nur intern im package run gebraucht
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
* CUSTOM PROMPTS für besondere Inputs
|
||||
* ---------------------------------------------------------------- */
|
||||
|
||||
func PromptInputInteger(name string, descr string, requirements []string) (int, bool, error) {
|
||||
func promptInputInteger(name string, descr string, requirements []string) (int, bool, error) {
|
||||
type responseType struct {
|
||||
Response int `yaml:"response"`
|
||||
}
|
||||
@@ -28,7 +28,7 @@ func PromptInputInteger(name string, descr string, requirements []string) (int,
|
||||
return response.Response, cancel, err
|
||||
}
|
||||
|
||||
func PromptInputListOfInt(name string, descr string, requirements []string) ([]int, bool, error) {
|
||||
func promptInputListOfInt(name string, descr string, requirements []string) ([]int, bool, error) {
|
||||
type responseType struct {
|
||||
Response []int `yaml:"response"`
|
||||
}
|
||||
@@ -48,7 +48,7 @@ func PromptInputListOfInt(name string, descr string, requirements []string) ([]i
|
||||
return response.Response, cancel, err
|
||||
}
|
||||
|
||||
func PromptInputListOfZeroOnes(name string, descr string, requirements []string) ([]int, bool, error) {
|
||||
func promptInputListOfZeroOnes(name string, descr string, requirements []string) ([]int, bool, error) {
|
||||
var values = []int{}
|
||||
type responseType struct {
|
||||
Response []uint8 `yaml:"response"`
|
||||
|
||||
Reference in New Issue
Block a user