Lines Matching defs:Set
27 type Set struct {
50 func New() *Set {
51 s := &Set{
92 func (s *Set) Arg(n int) string {
105 func (s *Set) Args() []string {
115 func (s *Set) NArgs() int {
127 func (s *Set) SetParameters(parameters string) {
139 func (s *Set) SetProgram(program string) {
151 func (s *Set) SetUsage(usage func()) {
163 func (s *Set) Lookup(name interface{}) Option {
185 func (s *Set) IsSet(name interface{}) bool {
202 func (s *Set) GetCount(name interface{}) int {
221 func (s *Set) GetValue(name interface{}) string {
234 func (s *Set) Visit(fn func(Option)) {
249 func (s *Set) VisitAll(fn func(Option)) {
264 func (s *Set) Reset() {