master > master: code go - methode -> private, da nur intern im package run gebraucht

This commit is contained in:
RD
2021-11-04 11:38:43 +01:00
parent a96d1bb6c9
commit 1934c3475a
2 changed files with 22 additions and 22 deletions

View File

@@ -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"`