We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e19eb04 commit 55746d2Copy full SHA for 55746d2
state/state.go
@@ -6,10 +6,10 @@ import (
6
7
// State -
8
type State struct {
9
- IndexName string `gorm:"primaryKey"`
10
- IndexType string
11
- Hash string
12
- Level uint64
+ IndexName string `gorm:"primaryKey" json:"index_name"`
+ IndexType string `json:"index_type"`
+ Hash string `json:"hash,omitempty"`
+ Level uint64 `json:"level"`
13
}
14
15
// TableName -
0 commit comments