Int returns a new int pointer. When Parse is called, env var name will be parsed and the resulting value will be assigned to the returned location.
(name string, value int)
| 20 | // and the resulting value |
| 21 | // will be assigned to the returned location. |
| 22 | func Int(name string, value int) *int { |
| 23 | p := new(int) |
| 24 | IntVar(p, name, value) |
| 25 | return p |
| 26 | } |
| 27 | |
| 28 | // IntVar defines an int var with the specified |
| 29 | // name and default value. The argument p points |