Answer the question
In order to leave comments, you need to log in
How to convert [4]uint8{0,0,0,0} to []uint8{}?
Problem writing TCP client.
It is necessary to initialize a buffer of binary data of a certain size, send it to a piece of hardware and receive a piece of data in response to a certain size.
In the general case, the task is to write a daemon that polls devices via TCP and UART. How suitable is Go for this task? I would like to migrate from python in order to divide device polling into several threads.
Here is the second day scratching my turnips: Go vs Rust
Answer the question
In order to leave comments, you need to log in
With regards to the question:
Well, you should at least look at the docks, the situation is childish. Here specifically for your question.
x := [3]string{"Лайка", "Белка", "Стрелка"}
s := x[:] // a slice referencing the storage of x
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question