github.com/Cloud-Foundations/Dominator@v0.3.4/lib/flagutil/api.go (about)

     1  /*
     2  	Package flagutil provides utility types for the standard flag package.
     3  
     4  	Package flagutil provides a collection of types to enhance the standard
     5  	flag package, such as slices.
     6  */
     7  package flagutil
     8  
     9  // A Size is an integer number of bytes that satisfies the standard library
    10  // flag.Value interface.
    11  type Size uint64
    12  
    13  // A SizeList is a slice of Size types that satisfies the standard library
    14  // flag.Value interface.
    15  type SizeList []Size
    16  
    17  // A StringList is a slice of strings that satisfies the standard library
    18  // flag.Value interface.
    19  type StringList []string
    20  
    21  // A StringToRuneMap satisfies the standard library flag.Value interface.
    22  type StringToRuneMap map[string]rune
    23  
    24  // A UintList is a slice of uint types that satisfies the standard library
    25  // flag.Value interface.
    26  type UintList []uint