This commit is contained in:
mr
2024-07-19 13:27:34 +02:00
parent cdc077c59e
commit 3f9814e649
9 changed files with 22 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ type DatacenterGpuModel struct {
TensorCores uint `bson:"tensor_cores,omitempty" json:"tensor_cores,omitempty"`
}
func (d *DatacenterResource) BindID(id string) {}
func (dma *DatacenterResource) Deserialize(j map[string]interface{}) utils.DBObject {
b, err := json.Marshal(j)
if err != nil {