diff options
| author | Alex Flint <[email protected]> | 2019-08-06 16:38:11 -0700 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2019-08-06 16:38:11 -0700 |
| commit | 9f37d5f6001b9379af81defbddd8ae63a0744af0 (patch) | |
| tree | 6cc748ebd9dce888fc3cb47d90862ed3a51975fd /parse.go | |
| parent | fcdfbc090b3262d6d078337b5de78fe1038a41ba (diff) | |
fix typo
Diffstat (limited to 'parse.go')
| -rw-r--r-- | parse.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -629,7 +629,7 @@ func (p *Parser) val(dest path) reflect.Value { // parse a value as the appropriate type and store it in the struct func setSlice(dest reflect.Value, values []string, trunc bool) error { if !dest.CanSet() { - return fmt.Errorf("field is not val") + return fmt.Errorf("field is not writable") } var ptr bool |
