Skip to content

Commit

Permalink
#8 Fixed remaining lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-glushko committed Dec 19, 2023
1 parent 35b37d7 commit 9a92375
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Go Format
run: gofmt -s -w . && git diff --exit-code

- name: Gofmtf
- name: Gofumpt
run: gofumpt -l -w . && git diff --exit-code

- name: Go Vet
Expand Down
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ output:

linters:
enable:
- gofumpt
- nolintlint
- revive

Expand Down
3 changes: 2 additions & 1 deletion pkg/buildAPIRequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import (
"errors"
"fmt"

"github.com/go-playground/validator/v10"
"glide/pkg/providers"
"glide/pkg/providers/openai"

"github.com/go-playground/validator/v10"
)

type ProviderConfigs = pkg.ProviderConfigs
Expand Down
3 changes: 2 additions & 1 deletion pkg/cmd/cli.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package cmd

import (
"github.com/spf13/cobra"
"glide/pkg"

"github.com/spf13/cobra"
)

// NewCLI Create a Glide CLI
Expand Down
1 change: 1 addition & 0 deletions pkg/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"glide/pkg/api"
"glide/pkg/api/http"

"go.uber.org/multierr"
)

Expand Down

0 comments on commit 9a92375

Please sign in to comment.