debnug
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user