type BookResourceName struct { Shelf string Book string }
func (n BookResourceName) ContainsWildcard() bool
func (n BookResourceName) MarshalString() (string, error)
func (n BookResourceName) ShelfResourceName() ShelfResourceName
func (n BookResourceName) String() string
func (n *BookResourceName) UnmarshalString(name string) error
func (n BookResourceName) Validate() error
type ShelfResourceName struct { Shelf string }
func (n ShelfResourceName) BookResourceName( book string, ) BookResourceName
func (n ShelfResourceName) ContainsWildcard() bool
func (n ShelfResourceName) MarshalString() (string, error)
func (n ShelfResourceName) String() string
func (n *ShelfResourceName) UnmarshalString(name string) error
func (n ShelfResourceName) Validate() error