Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nitisht committed Jun 10, 2024
1 parent 2ed5d48 commit 5d95efc
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 22 deletions.
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ linters-settings:
locale: US

gofumpt:
lang-version: "1.22"

# Choose whether or not to use the extra rules that are disabled
# by default
extra-rules: false
Expand Down
3 changes: 1 addition & 2 deletions cmd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ import (
"io"
"net/http"
"net/url"
"time"

"pb/pkg/config"
"time"
)

type HTTPClient struct {
Expand Down
1 change: 0 additions & 1 deletion cmd/pre.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package cmd
import (
"errors"
"os"

"pb/pkg/config"

"github.com/spf13/cobra"
Expand Down
1 change: 0 additions & 1 deletion cmd/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"fmt"
"net/url"
"os"

"pb/pkg/config"
"pb/pkg/model/credential"
"pb/pkg/model/defaultprofile"
Expand Down
3 changes: 1 addition & 2 deletions cmd/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ import (
"fmt"
"io"
"os"
"time"

"pb/pkg/model"
"time"

tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"
Expand Down
3 changes: 1 addition & 2 deletions cmd/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ import (
"fmt"
"io"
"os"
"pb/pkg/model/role"
"strings"
"sync"

"pb/pkg/model/role"

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/spf13/cobra"
Expand Down
1 change: 0 additions & 1 deletion cmd/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"encoding/base64"
"encoding/json"
"fmt"

"pb/pkg/config"

"github.com/apache/arrow/go/v13/arrow/array"
Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package main
import (
"errors"
"os"

"pb/cmd"
"pb/pkg/config"

Expand Down
3 changes: 1 addition & 2 deletions pkg/model/credential/credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
package credential

import (
"strings"

"pb/pkg/model/button"
"strings"

"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
Expand Down
1 change: 0 additions & 1 deletion pkg/model/defaultprofile/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package defaultprofile
import (
"fmt"
"io"

"pb/pkg/config"

"github.com/charmbracelet/bubbles/list"
Expand Down
5 changes: 2 additions & 3 deletions pkg/model/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ import (
"math"
"net/http"
"os"
"pb/pkg/config"
"pb/pkg/iterator"
"strings"
"sync"
"time"

"pb/pkg/config"
"pb/pkg/iterator"

"github.com/charmbracelet/bubbles/help"
"github.com/charmbracelet/bubbles/key"
"github.com/charmbracelet/bubbles/textarea"
Expand Down
3 changes: 1 addition & 2 deletions pkg/model/role/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ package role

import (
"fmt"
"strings"

"pb/pkg/model/button"
"pb/pkg/model/selection"
"strings"

"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
Expand Down
3 changes: 1 addition & 2 deletions pkg/model/timeinput.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ package model

import (
"fmt"
"time"

"pb/pkg/model/datetime"
"time"

"github.com/charmbracelet/bubbles/key"
"github.com/charmbracelet/bubbles/list"
Expand Down

0 comments on commit 5d95efc

Please sign in to comment.