debnug
This commit is contained in:
@ -85,6 +85,8 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Printf("Returned from DB: %+x\n", images)
|
||||||
|
|
||||||
type DataType struct {
|
type DataType struct {
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Data any `json:"data"`
|
Data any `json:"data"`
|
||||||
@ -121,6 +123,8 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("DataTypes: ", dataTypes)
|
||||||
|
|
||||||
jsonImages, err := json.Marshal(dataTypes)
|
jsonImages, err := json.Marshal(dataTypes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
|
Reference in New Issue
Block a user