Skip to content

Commit

Permalink
golint
Browse files Browse the repository at this point in the history
  • Loading branch information
pzentenoe committed Jul 3, 2024
1 parent e32aca7 commit 59f8fe2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions decrement.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ package cache

import "fmt"

type decrementer interface {
Decrement(n int64) error
}

// Decrement an item of type int, int8, int16, int32, int64, uintptr, uint,
// uint8, uint32, or uint64, float32 or float64 by n. Returns an error if the
// item's value is not an integer, if it was not found, or if it is not
Expand Down
4 changes: 0 additions & 4 deletions increment.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ package cache

import "fmt"

type incrementer interface {
Increment(n int64) error
}

// Increment an item of type int, int8, int16, int32, int64, uintptr, uint,
// uint8, uint32, or uint64, float32 or float64 by n. Returns an error if the
// item's value is not an integer, if it was not found, or if it is not
Expand Down

0 comments on commit 59f8fe2

Please sign in to comment.