Files
AynaLivePlayer/core/model/provider.go
2023-02-19 04:23:03 -08:00

17 lines
243 B
Go

package model
import "fmt"
type Meta struct {
Name string
Id string
}
func (m Meta) String() string {
return fmt.Sprintf("<Meta %s:%s>", m.Name, m.Id)
}
func (m Meta) Identifier() string {
return fmt.Sprintf("%s_%s", m.Name, m.Id)
}