bugfix: capitalization

This commit is contained in:
Baipyrus 2024-04-12 10:50:12 +02:00
parent 82270c6d57
commit 0f175a0fee

View File

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