data

package
v0.0.0-...-b5fa7f3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadURI

func ReadURI(mime string, r io.Reader) (string, error)

func URI

func URI(mime string, s []byte) string

Types

type SliceSet

type SliceSet[T comparable] struct {
	// contains filtered or unexported fields
}

func (SliceSet[T]) Add

func (s SliceSet[T]) Add(v T) SliceSet[T]

func (SliceSet[T]) Clear

func (s SliceSet[T]) Clear() SliceSet[T]

func (SliceSet[T]) Equal

func (s SliceSet[T]) Equal(t SliceSet[T]) bool

func (SliceSet[T]) Has

func (s SliceSet[T]) Has(v T) bool

func (SliceSet[T]) Index

func (s SliceSet[T]) Index(v T) (int, bool)

func (SliceSet[T]) Is

func (s SliceSet[T]) Is(t SliceSet[T]) bool

func (SliceSet[T]) Len

func (s SliceSet[T]) Len() int

func (SliceSet[T]) MarshalJSON

func (s SliceSet[T]) MarshalJSON() ([]byte, error)

func (SliceSet[T]) Slice

func (s SliceSet[T]) Slice() []T

Jump to

Keyboard shortcuts

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