Skip to content

Commit

Permalink
Fix golangci issues with MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
gaby authored Nov 15, 2023
1 parent fc7438b commit 4b89c87
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ func New(config ...Config) *Storage {
return store
}

var noRows = "sql: no rows in result set"

// Get value by key
func (s *Storage) Get(key string) ([]byte, error) {
if len(key) <= 0 {
Expand Down Expand Up @@ -136,7 +134,6 @@ func (s *Storage) Get(key string) ([]byte, error) {
return data, nil
}

// Set key with value
// Set key with value
func (s *Storage) Set(key string, val []byte, exp time.Duration) error {
// Ain't Nobody Got Time For That
Expand Down

0 comments on commit 4b89c87

Please sign in to comment.