[#772] node: Apply gofumpt

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-10-31 14:56:55 +03:00
parent 00aa6d9749
commit 79088baa06
136 changed files with 293 additions and 239 deletions

View file

@ -166,14 +166,14 @@ func TestTokenStore_RemoveOld(t *testing.T) {
//
// If this test is passing, TokenStore works correctly.
func TestBolt_Cursor(t *testing.T) {
db, err := bbolt.Open(filepath.Join(t.TempDir(), ".storage"), 0666, nil)
db, err := bbolt.Open(filepath.Join(t.TempDir(), ".storage"), 0o666, nil)
require.NoError(t, err)
defer db.Close()
cursorKeys := make(map[string]struct{})
var bucketName = []byte("bucket")
bucketName := []byte("bucket")
err = db.Update(func(tx *bbolt.Tx) (err error) {
b, err := tx.CreateBucket(bucketName)