- Introduced a YAML-based configuration system, allowing for automatic generation of a default `config.yaml` file. - Updated the application to load configuration settings from the YAML file, improving flexibility and ease of use. - Added a Makefile to streamline development tasks, including running the application, testing, and managing dependencies. - Enhanced `.gitignore` to include build artifacts and configuration files. - Removed unused Prometheus metrics and related code to simplify the codebase. - Updated dependencies in `go.mod` and `go.sum` for improved functionality and performance.
13 lines
323 B
Go
13 lines
323 B
Go
// vfs/vfserror/vfserror.go
|
|
package vfserror
|
|
|
|
import "errors"
|
|
|
|
// Common VFS errors
|
|
var (
|
|
ErrNotFound = errors.New("vfs: key not found")
|
|
ErrInvalidKey = errors.New("vfs: invalid key")
|
|
ErrAlreadyExists = errors.New("vfs: key already exists")
|
|
ErrCapacityExceeded = errors.New("vfs: capacity exceeded")
|
|
)
|