-
Or we can use some kind of validation library, e.g. https://github.com/go-ozzo/ozzo-validation.
The motivation is, `required` field in HCL (so one without `optional`), can be just satisfied with `f…
-
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
## Open
These updates have all …
-
is it possible to check the number for more than zero?
-
http://www.depesz.com/2015/05/10/waiting-for-9-5-add-support-for-insert-on-conflict-do-nothingupdate/
That would be really nice to have.
ottob updated
8 years ago
-
My code is like this:
```
var rows []*Row
db.Select().All(&rows)
```
and i got an error:
`Invalid variable type: must be a slice of struct or NullStringMap`
But a lot of scenarios use slice…
-
Hi.
I am developer transitioning from `Node.js` to `go` and it has been smooth. But, I'm finding it hard to update a model without overwriting the role in the db with the null data. Example:
I'v…
-
Our new static analysis tooling identified ProjectConfig.ValidateProjectScripts as failing on cyclomatic complexity. That's a fancy phrase for "too much nesting of logic/too much code in one function"…
-
Content of svPtr.nameMap not shown in debugger variables...
``` go
package main
import (
"fmt"
)
type (
structInfo struct {
nameMap map[string]*fieldInfo // mapping from struct fi…
-
So, I've ran into a rather unique use case that may or may not be supported. Is it possible to validate a string field that is made optional, and if included in the request body, return an error if it…