clean up code

- travisci is long dead
- golangci-lint the repo
This commit is contained in:
2024-12-02 13:47:43 -08:00
parent 024d552293
commit 0dcd18c6f1
6 changed files with 9 additions and 20 deletions

View File

@@ -35,7 +35,7 @@ func (o OATH) Counter() uint64 {
}
// SetCounter updates the OATH token's counter to a new value.
func (o OATH) SetCounter(counter uint64) {
func (o *OATH) SetCounter(counter uint64) {
o.counter = counter
}