common.go 269 B

123456789101112131415
  1. // Package common contains common utilities that are shared among other packages.
  2. // See each sub-package for detail.
  3. package common
  4. import (
  5. "errors"
  6. )
  7. var (
  8. ErrorAlreadyReleased = errors.New("Object already released.")
  9. )
  10. type Releasable interface {
  11. Release()
  12. }