Skip to content

Commit

Permalink
chore: generate interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik committed Feb 20, 2025
1 parent 80a12f1 commit 6fcc45e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
go-version:
- 1.21.x
- 1.18.x
os:
- ubuntu-22.04
runs-on: ${{ matrix.os }}
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Install moq
run: |
git config --global url."git@github.com:axelarnetwork".insteadOf https://github.com/axelarnetwork
go install github.com/matryer/moq@latest
go install github.com/matryer/moq
- name: Install mdformat

Expand Down
3 changes: 3 additions & 0 deletions log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ package log
import (
"context"
"fmt"

tmlog "github.com/tendermint/tendermint/libs/log"
)

//go:generate moq . Logger

// Logger is a simple interface to log at three log levels with additional formatting methods for convenience
type Logger interface {
Debug(msg string)
Expand Down

0 comments on commit 6fcc45e

Please sign in to comment.