pelican/internal/db/errors.go
Dan Anglin e13d3e2085
refactor: renamed internal package; fixed linting
- Renamed internal package database to db.
- Fixed linting issues from golangci-lint.
- Fixed nil pointer exception in status.go
2023-04-26 11:11:49 +01:00

11 lines
184 B
Go

package db
import "fmt"
type bucketNotExistError struct {
bucket string
}
func (e bucketNotExistError) Error() string {
return fmt.Sprintf("bucket %s does not exist", e.bucket)
}