doublepost
Servers
›
Discord Gophers
›
go-help
›
Is it possible for a struct to have an array whose size is given at the moment of instantiation?
#Is it possible for a struct to have an array whose size is given at the moment of instantiation?
3 messages · Page 1 of 1 (latest)
dense portal
Mar 18, 2023, 11:11 PM
#
^
tacit laurel
Mar 18, 2023, 11:12 PM
#
no, you have to use a slice
dense portal
Mar 18, 2023, 11:12 PM
#
Thank you