-
# ENV:
go version go1.22.8 darwin/amd64
"gorm.io/driver/sqlite v1.4.4"
"gorm.io/gorm v1.25.12"
# Define the model for **sqlite** table
```golang
type Book struct {
ID int64 `gorm…
-
```go
// File is an object representing the database table.
type File struct {
ID uuid.UUID `db:"id,pk" json:"id"`
SensorID uuid.UUID `db:"sensor_id" json:"se…
fseda updated
10 hours ago
-
Hey, currently the only way to exclude some structs from being generated is to provide a list of files to exclude. However, this is not always convenient, often structs live close to the code where th…
-
it was a long journey to figure out what exactly linter was unhappy with :)
Simple example:
```go
type AddUsersResponse struct {
Seq int `json:"seq,omitempty"`
Succeed…
-
## Problem statement
I have an API which produces and consumes both - `application/json` and `application/edn`.
In order to generate the client API I've created a new EDN consumer and producer a…
-
Maybe I'm too stupid to find it, but there doesn't seem to be documentation on the various extra values for struct tags (`dict`, `list`, `delta`, etc.) and the circumstances when they are allowed. Th…
-
**Is your feature request related to a problem? Please describe.**
We would prefer that Firebase serializes our objects in a way that is consistent with the JSON or YAML representation and with the…
-
For some chains like Gnosis, different field specs are defined ([example](https://github.com/ChainSafe/lodestar/blob/20c18ad85d6cb5e37d4980446d4f608ce9169c24/packages/params/src/presets/gnosis.ts#L21)…
-
- With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them…
-
Interested in seeing how json parsing would work