Skip to content

Commit

Permalink
goimport
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Sep 5, 2023
1 parent 471c88b commit 7452f67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
IMAGE_NAME=chain-monitor
IMAGE_VERSION=latest

format:
go mod tidy
goimports -local . -w .

lint:
GOBIN=$(PWD)/build/bin go run ./build/lint.go

Expand Down
3 changes: 2 additions & 1 deletion bytecode/bytecode.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import (
"errors"
"math/big"

"github.com/scroll-tech/go-ethereum/log"

geth "github.com/scroll-tech/go-ethereum"
"github.com/scroll-tech/go-ethereum/accounts/abi"
"github.com/scroll-tech/go-ethereum/common"
"github.com/scroll-tech/go-ethereum/core/types"
"github.com/scroll-tech/go-ethereum/ethclient"
"github.com/scroll-tech/go-ethereum/log"

"chain-monitor/internal/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/app/app.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package app

import (
"chain-monitor/internal/orm"
"fmt"
"os"
"os/signal"
Expand All @@ -14,6 +13,7 @@ import (
"chain-monitor/internal/controller/l1watcher"
"chain-monitor/internal/controller/l2watcher"
"chain-monitor/internal/controller/monitor"
"chain-monitor/internal/orm"
"chain-monitor/internal/route"
"chain-monitor/internal/utils"
)
Expand Down

0 comments on commit 7452f67

Please sign in to comment.