I know I can make a function called ConstructJByte, NewJByte, etc... But I want to avoid that, I want the literal typecasting that Go has. (Unless those are just functions in disguise, with the same name as the type (somehow).)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I know I can make a function called
ConstructJByte
,NewJByte
, etc... But I want to avoid that, I want the literal typecasting that Go has. (Unless those are just functions in disguise, with the same name as the type (somehow).)