Documentation
¶
Index ¶
- func ReadURI(mime string, r io.Reader) (string, error)
- func URI(mime string, s []byte) string
- type SliceSet
- func (s SliceSet[T]) Add(v T) SliceSet[T]
- func (s SliceSet[T]) Clear() SliceSet[T]
- func (s SliceSet[T]) Equal(t SliceSet[T]) bool
- func (s SliceSet[T]) Has(v T) bool
- func (s SliceSet[T]) Index(v T) (int, bool)
- func (s SliceSet[T]) Is(t SliceSet[T]) bool
- func (s SliceSet[T]) Len() int
- func (s SliceSet[T]) MarshalJSON() ([]byte, error)
- func (s SliceSet[T]) Slice() []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SliceSet ¶
type SliceSet[T comparable] struct { // contains filtered or unexported fields }
func (SliceSet[T]) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.