diff --git a/main.go b/main.go index 369a0a3..f60ce55 100644 --- a/main.go +++ b/main.go @@ -169,9 +169,9 @@ func main() { client := resty.New() // Initialize custom matrix data - col := Color{R: 255, G: 0, B: 255, endpoint: COLOR} - rct := Rectangle{X: 0, Y: 0, W: 10, H: 10, endpoint: RECTANGLE} - upd := Update{endpoint: UPDATE} + col := Color{R: 255, G: 0, B: 255, Endpoint: COLOR} + rct := Rectangle{X: 0, Y: 0, W: 10, H: 10, Endpoint: RECTANGLE} + upd := Update{Endpoint: UPDATE} // Send request to remote server SendRequest(client, url, []interface{}{col, rct, upd})