tgruben
751b7a74fe
staticcheck fixes ( #2278 )
...
(cherry picked from commit 0aa5efcc51 )
2022-11-15 11:33:10 -08:00
Fletcher Haynes
da9b57bd45
Updated dependency paths to reflect new repo location
2022-09-06 09:39:22 -07:00
Fletcher Haynes
eb06bb50ae
Updated code to latest version for open-sourcing.
2022-09-02 13:23:39 -07:00
Ben Johnson
e844e1ad75
Translation store refactor
2019-10-09 08:59:41 -06:00
Ben Johnson
c7c9c1e1d7
v2.0.0
...
Co-authored-by: Cody Soyland <codysoyland@gmail.com>
2019-10-08 14:56:17 -06:00
Seebs
449c853850
address meta-lint or half-baked lint fixes
...
Clean up some spelling and consistency issues for the lint
fixes.
2019-04-16 12:08:40 -05:00
Seebs
20a8c48552
boltdb/attrstore.go: fix up lint about error checking
...
There's two kinds of unchecked errors here. Writes to a hash
(we don't care, hash functions usually don't error in ways we
care about), and rollbacks of non-writing transactions to a
database. After studying the boltdb docs, I concluded that
the recommended solution is to use the `.View(...)` function
instead of directly controlling the transaction, so I switched
the functions to do that.
2019-04-16 12:06:28 -05:00
Cody Soyland
e76c523135
Merge branch 'master' into 1517-metalinter-unconvert
2018-08-02 11:45:24 -05:00
Cody Soyland
dc50204846
Fix linter issues: unconvert
2018-07-20 11:51:55 -05:00
Cody Soyland
e9523063b5
Fix linter issues: unused
2018-07-20 10:33:29 -05:00
Cody Soyland
f01d850b17
Fix linter issues: gosimple
2018-07-20 09:06:43 -05:00
Cody Soyland
0a9e6bca7a
Re-add return variable names removed in 2aa4d6b1.
2018-07-19 08:09:05 -05:00
Cody Soyland
2aa4d6b12f
Fix linter issues: nakedret
2018-07-18 15:23:36 -05:00
Cody Soyland
f9625ef4fa
Fix linter issues: unparam
2018-07-17 12:05:07 -05:00
Cody Soyland
9db2109278
Unexport boltdb.NewAttrCache
2018-07-05 23:11:56 -05:00
Cody Soyland
fcf6517c7e
Unexport boltdb.AttrStore
2018-07-05 23:11:56 -05:00
Cody Soyland
43cac45d40
Unexport boltdb.AttrCache
2018-07-05 23:11:56 -05:00
Cody Soyland
817ede49e6
Unexport boltdb.AttrBlockSize
2018-07-05 23:11:56 -05:00
Alan Bernstein
eb888b74f7
Update test error strings
2018-05-10 12:12:55 -05:00
Cody Soyland
f9efa6c579
Use type func(string) AttrStore in place of interface AttrStoreGenerator for simplicity
2018-03-23 13:57:29 -05:00
Travis Turner
b66bedd1ef
put BoltDB behind AttrStore interface
2018-03-19 11:30:41 -05:00