From 30e6c4a35bae03f0d84760f5b48b0f02c387c593 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Sun, 14 Apr 2024 21:47:48 +0200 Subject: [PATCH] comment old code for reference --- main.go | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/main.go b/main.go index 20b05cb..6377540 100644 --- a/main.go +++ b/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}) }