This commit is contained in:
2025-04-14 09:50:03 +01:00
parent e8d996cec5
commit ad14254ecb

View File

@ -85,6 +85,8 @@ func main() {
return
}
fmt.Printf("Returned from DB: %+x\n", images)
type DataType struct {
Type string `json:"type"`
Data any `json:"data"`
@ -121,6 +123,8 @@ func main() {
}
}
fmt.Println("DataTypes: ", dataTypes)
jsonImages, err := json.Marshal(dataTypes)
if err != nil {
log.Println(err)