mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-11 20:58:13 +08:00
17 lines
243 B
Go
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)
|
|
}
|