slug

package
v0.0.0-...-10dfb09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrInvalidSlug

type ErrInvalidSlug struct {
	Message string
}

func (*ErrInvalidSlug) Error

func (e *ErrInvalidSlug) Error() string

func (*ErrInvalidSlug) GraphError

func (e *ErrInvalidSlug) GraphError() string

type Slug

type Slug string

func (Slug) MarshalGQLContext

func (s Slug) MarshalGQLContext(_ context.Context, w io.Writer) error

func (Slug) String

func (s Slug) String() string

func (*Slug) UnmarshalGQLContext

func (s *Slug) UnmarshalGQLContext(_ context.Context, v any) error

func (Slug) Validate

func (s Slug) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL