Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
myoung34 committed Aug 25, 2022
1 parent 6e6cf3a commit 8d59ce8
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ repos:
rev: v2.10.0
hooks:
- id: hadolint
exclude: ^vendor/
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
hooks:
- id: go-fmt
exclude: ^vendor/
2 changes: 1 addition & 1 deletion emitters/datadog.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"
"github.com/DataDog/datadog-go/v5/statsd"
"github.com/go-kit/log/level"
"github.com/go-kit/log/level"
"github.com/myoung34/tilty/tilt"
)

Expand Down
2 changes: 1 addition & 1 deletion emitters/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"database/sql"
"encoding/json"
"fmt"
"github.com/go-kit/log/level"
"github.com/go-kit/log/level"
_ "github.com/mattn/go-sqlite3" // Per docs
"github.com/myoung34/tilty/tilt"
"log"
Expand Down
2 changes: 1 addition & 1 deletion emitters/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"fmt"
"github.com/go-kit/log/level"
"github.com/go-kit/log/level"
"github.com/myoung34/tilty/tilt"
"io"
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/hex"
"errors"
"fmt"
"github.com/go-kit/log/level"
"github.com/go-kit/log/level"
"github.com/go-playground/validator/v10"
"github.com/myoung34/gatt"
"github.com/myoung34/gatt/examples/option"
Expand Down
2 changes: 1 addition & 1 deletion tilt/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tilt
import (
"errors"
"fmt"
"github.com/go-kit/log/level"
"github.com/go-kit/log/level"
"github.com/spf13/viper"
"os"
"path/filepath"
Expand Down
4 changes: 2 additions & 2 deletions tilt/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package tilt

import (
"fmt"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"os"
"strings"
)
Expand Down

0 comments on commit 8d59ce8

Please sign in to comment.