diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2022-12-03 21:31:28 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2022-12-03 21:31:28 +0000 |
| commit | aca3d73f8ce8cf46a80cb098589627a6b412aae1 (patch) | |
| tree | 69b64f5901af2815b9329575f13743fb419716e2 /flag.go | |
| parent | e2fb0e1ccaaedf5c4004db01593a0773cd626006 (diff) | |
Remove redundant ParseString
Diffstat (limited to 'flag.go')
| -rw-r--r-- | flag.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -108,11 +108,6 @@ func InitFlagSet(fs *flag.FlagSet, env []string, cfg map[string]string, args []s return err } -// ParseString returns the string passed with no error set. -func ParseString(s string) (string, error) { - return s, nil -} - // ParseTime parses a string according to the time.RFC3339 format. func ParseTime(s string) (time.Time, error) { return time.Parse(time.RFC3339, s) |
