mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-20 06:10:00 -08:00
grumble, pkg/*: go fmt.
This commit is contained in:
parent
d77f8843a7
commit
dd76f22eb7
14 changed files with 62 additions and 61 deletions
|
|
@ -17,13 +17,13 @@ import (
|
|||
)
|
||||
|
||||
type BlobStore struct {
|
||||
dir string
|
||||
dir string
|
||||
}
|
||||
|
||||
var (
|
||||
ErrBadFile = errors.New("a bad file exists in the blobstore directory. unable to create container directores.")
|
||||
ErrNoSuchKey = errors.New("no such key")
|
||||
ErrInvalidKey = errors.New("invalid key")
|
||||
ErrBadFile = errors.New("a bad file exists in the blobstore directory. unable to create container directores.")
|
||||
ErrNoSuchKey = errors.New("no such key")
|
||||
ErrInvalidKey = errors.New("invalid key")
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
@ -143,7 +143,7 @@ func NewBlobStore(path string) (bs *BlobStore, err error) {
|
|||
}
|
||||
|
||||
bs = &BlobStore{
|
||||
dir: path,
|
||||
dir: path,
|
||||
}
|
||||
return bs, nil
|
||||
}
|
||||
|
|
@ -281,4 +281,4 @@ func (bs *BlobStore) Put(buf []byte) (key string, err error) {
|
|||
}
|
||||
|
||||
return key, nil
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue