feat: support specific default api version now (#57)

This commit is contained in:
JustSong
2023-05-13 12:53:57 +08:00
parent 74c1ba7cbc
commit 83e86b9f8a
4 changed files with 18 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ type Channel struct {
CreatedTime int64 `json:"created_time" gorm:"bigint"`
AccessedTime int64 `json:"accessed_time" gorm:"bigint"`
BaseURL string `json:"base_url" gorm:"column:base_url"`
Other string `json:"other"`
}
func GetAllChannels(startIdx int, num int) ([]*Channel, error) {