format repo with "gofumpt" tool

This commit is contained in:
Tnze
2022-11-26 20:37:57 +08:00
parent 7814e7b1ab
commit fad92fe364
61 changed files with 333 additions and 268 deletions

View File

@ -8,8 +8,10 @@ import (
pk "github.com/Tnze/go-mc/net/packet"
)
const indexOutOfBounds = "index out of bounds"
const valueOutOfBounds = "value out of bounds"
const (
indexOutOfBounds = "index out of bounds"
valueOutOfBounds = "value out of bounds"
)
// BitStorage implement the compacted data array used in chunk storage and heightmaps.
// You can think of this as a []intN whose N is called "bits" in NewBitStorage.