Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Dec 22, 2023
1 parent f82991c commit f02723e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ linters:
- depguard
- ifshort
- ireturn
- godox
3 changes: 2 additions & 1 deletion pkg/fetchers/neutron/fetcher.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package neutron

import (
"github.com/rs/zerolog"
"main/pkg/http"
"main/pkg/types"

"github.com/rs/zerolog"
)

type Fetcher struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/types/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ type Chain struct {
MintscanPrefix string `toml:"mintscan-prefix"`
Explorer *Explorer `toml:"explorer"`

Type string `toml:"type" default:"cosmos"`
NeutronSmartContract string `toml:"neutron-smart-contract" default:"neutron1436kxs0w2es6xlqpp9rd35e3d0cjnw4sv8j3a7483sgks29jqwgshlt6zh"`
Type string `default:"cosmos" toml:"type"`
NeutronSmartContract string `default:"neutron1436kxs0w2es6xlqpp9rd35e3d0cjnw4sv8j3a7483sgks29jqwgshlt6zh" toml:"neutron-smart-contract"`
}

func (c Chain) Validate() error {
Expand Down

0 comments on commit f02723e

Please sign in to comment.