entity

package
v0.0.0-...-26b0286 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bilibili

type Bilibili struct {
	ID string `validate:"omitempty"`
}

type Facebook

type Facebook struct {
	ID  string `validate:"omitempty"`
	URL string `validate:"omitempty"`
}

type Instagram

type Instagram struct {
	ID  string `validate:"omitempty"`
	URL string `validate:"omitempty"`
}

type Liver

type Liver struct {
	ID        string       `validate:"required"`
	YouTube   []*YouTube   `validate:"omitempty"`
	Twitter   []*Twitter   `validate:"omitempty"`
	Bilibili  []*Bilibili  `validate:"omitempty"`
	Twitch    []*Twitch    `validate:"omitempty"`
	Facebook  []*Facebook  `validate:"omitempty"`
	Instagram []*Instagram `validate:"omitempty"`
}

func (*Liver) Validate

func (l *Liver) Validate() error

type Twitch

type Twitch struct {
	ID string `validate:"omitempty"`
}

type Twitter

type Twitter struct {
	ID string `validate:"omitempty"`
}

type YouTube

type YouTube struct {
	ID string `validate:"omitempty"`
}

Jump to

Keyboard shortcuts

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