Hello. I am quite an amateur and I am fiddeling with go just for fun. Can anybody experienced tell me, what function like appendBool is good for? Any practical use? I can’t find any and it seems to me as a litttle bit odd thing to do with a bool to convert it to bytes letter by letter and then append it to the slice… Thanks.
First practical use that comes to my mind is textual serialisation, eg JSON.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.