Skip to content

Commit

Permalink
Fix: state JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jun 17, 2021
1 parent e19eb04 commit 55746d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

// State -
type State struct {
IndexName string `gorm:"primaryKey"`
IndexType string
Hash string
Level uint64
IndexName string `gorm:"primaryKey" json:"index_name"`
IndexType string `json:"index_type"`
Hash string `json:"hash,omitempty"`
Level uint64 `json:"level"`
}

// TableName -
Expand Down

0 comments on commit 55746d2

Please sign in to comment.