(value string)
| 56 | } |
| 57 | |
| 58 | func (i *shapeConfigArray) Set(value string) error { |
| 59 | n, _ := strconv.ParseInt(value, 0, 0) |
| 60 | *i = append(*i, shapeConfig{int(n), Mode, Alpha, Repeat}) |
| 61 | return nil |
| 62 | } |
| 63 | |
| 64 | func init() { |
| 65 | flag.StringVar(&Input, "i", "", "input image path") |
nothing calls this directly
no outgoing calls
no test coverage detected