api/models/channel.go

9 lines
188 B
Go
Raw Normal View History

2022-10-27 04:04:49 +02:00
package models
type Channel struct {
// YouTube ID of the channel
2022-10-29 05:09:52 +02:00
ID string `json:"channel_id" uri:"channel_id" binding:"required"`
2022-10-27 04:04:49 +02:00
// Name of the channel
2022-10-29 05:09:52 +02:00
Name string `json:"name"`
2022-10-27 04:04:49 +02:00
}