mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-26 03:51:45 +00:00
comment old code for reference
This commit is contained in:
parent
80984f8243
commit
30e6c4a35b
26
main.go
26
main.go
@ -35,18 +35,20 @@ func main() {
|
||||
// Initialize resty client
|
||||
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}
|
||||
|
||||
// Send request to remote server
|
||||
sendRequest(client, url, []interface{}{col, rct})
|
||||
|
||||
// Initialize custom matrix data
|
||||
col = Color{R: 255, G: 255, B: 0, Endpoint: COLOR}
|
||||
rct = Rectangle{X: 15, Y: 15, W: 15, H: 15, Endpoint: RECTANGLE}
|
||||
upd := Update{Endpoint: UPDATE}
|
||||
|
||||
// Send request to remote server
|
||||
sendRequest(client, url, []interface{}{col, rct, upd})
|
||||
// // 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}
|
||||
//
|
||||
// // Send request to remote server
|
||||
// sendRequest(client, url, []interface{}{col, rct})
|
||||
//
|
||||
// // Initialize custom matrix data
|
||||
// col = Color{R: 255, G: 255, B: 0, Endpoint: COLOR}
|
||||
// rct = Rectangle{X: 15, Y: 15, W: 15, H: 15, Endpoint: RECTANGLE}
|
||||
// upd := Update{Endpoint: UPDATE}
|
||||
//
|
||||
// // Send request to remote server
|
||||
// sendRequest(client, url, []interface{}{col, rct, upd})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user