Skip to content

Commit

Permalink
🐛 fix(linter): fix errors >>> ⏰ 1m
Browse files Browse the repository at this point in the history
  • Loading branch information
logicalangel committed Jun 30, 2024
1 parent ba77a0d commit 8ef71c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/model/assetprice.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ type AssetPriceDataFrame struct {
}

type AssetPrice struct {
Pair string `json:"pair" gorm:"uniqueIndex:idx_pair_name_chain_block"`
Name string `json:"name" gorm:"uniqueIndex:idx_pair_name_chain_block"`
Chain string `json:"chain" gorm:"uniqueIndex:idx_pair_name_chain_block"`
Block uint64 `json:"block" gorm:"uniqueIndex:idx_pair_name_chain_block"`
Pair string `gorm:"uniqueIndex:idx_pair_name_chain_block" json:"pair"`
Name string `gorm:"uniqueIndex:idx_pair_name_chain_block" json:"name"`
Chain string `gorm:"uniqueIndex:idx_pair_name_chain_block" json:"chain"`
Block uint64 `gorm:"uniqueIndex:idx_pair_name_chain_block" json:"block"`
Price int64 `json:"price"`
SignersCount uint64 `json:"signers_count"`
Signature []byte `json:"signature"`
Expand Down
1 change: 1 addition & 0 deletions internal/transport/server/websocket/handler/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package handler

import (
"context"

"github.com/TimeleapLabs/unchained/internal/transport/server/pubsub"

"github.com/TimeleapLabs/unchained/internal/consts"
Expand Down

0 comments on commit 8ef71c7

Please sign in to comment.