initial commits
parent
70207f8e01
commit
058466e3d8
|
@ -18,7 +18,7 @@ With `fck.Error`:
|
||||||
```
|
```
|
||||||
And with `fck.Errorf`:
|
And with `fck.Errorf`:
|
||||||
```
|
```
|
||||||
const err error = fck.Errorf("bad value for id %q", id)
|
var err error = fck.Errorf("bad value for id %q", id)
|
||||||
```
|
```
|
||||||
|
|
||||||
**One thing to notice is that `fck.Error` errors can be a Go `const`.**
|
**One thing to notice is that `fck.Error` errors can be a Go `const`.**
|
||||||
|
|
Loading…
Reference in New Issue