bugfix: JSON format, export and marshalling

This commit is contained in:
Baipyrus 2024-04-12 11:57:32 +02:00
parent 0f175a0fee
commit ed722f82e4

View File

@ -13,7 +13,7 @@ import (
)
type Response struct {
success bool
Success bool `json:"success"`
}
type Endpoint string
@ -151,7 +151,7 @@ func SendRequest(client *resty.Client, url string, ins []interface{}) {
}
// Print response
log.Printf("Success: %t\n", data.success)
log.Printf("Success: %t\n", data.Success)
}
func main() {