服務器狀態
This commit is contained in:
@@ -22,7 +22,7 @@ func (list ImageList) Value() (driver.Value, error) {
|
||||
return json.Marshal(list)
|
||||
}
|
||||
|
||||
// 數據集
|
||||
// 數據集模型
|
||||
type Dataset struct {
|
||||
ID int `json:"id" gorm:"primary_key"`
|
||||
Name string `json:"name"`
|
||||
@@ -129,6 +129,7 @@ func DatasetsItemPatch(w http.ResponseWriter, r *http.Request) {
|
||||
})
|
||||
}
|
||||
|
||||
// 刪除數據集
|
||||
func DatasetsItemDelete(w http.ResponseWriter, r *http.Request) {
|
||||
models.AccountRead(w, r, func(account *models.Account) {
|
||||
// 獲取數據集
|
||||
|
Reference in New Issue
Block a user