1
0
Fork 0

k8s integration tests

This commit is contained in:
SALLEYRON Julien 2019-03-11 14:54:05 +01:00 committed by Traefiker Bot
parent 2d54065082
commit 0cfaab02c0
59 changed files with 5796 additions and 227 deletions

View file

@ -1,9 +1,6 @@
package pflag
import (
"fmt"
"strconv"
)
import "strconv"
// -- float32 Value
type float32Value float32
@ -23,7 +20,7 @@ func (f *float32Value) Type() string {
return "float32"
}
func (f *float32Value) String() string { return fmt.Sprintf("%v", *f) }
func (f *float32Value) String() string { return strconv.FormatFloat(float64(*f), 'g', -1, 32) }
func float32Conv(sval string) (interface{}, error) {
v, err := strconv.ParseFloat(sval, 32)