()
| 47 | } |
| 48 | |
| 49 | func New() FlagContext { |
| 50 | return &flagContext{ |
| 51 | flagsets: make(map[string]FlagSet), |
| 52 | cmdFlags: make(map[string]FlagSet), |
| 53 | cursor: 0, |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | func NewFlagContext(cmdFlags map[string]FlagSet) FlagContext { |
| 58 | return &flagContext{ |
no outgoing calls
no test coverage detected