Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Go
go create new instance of struct
tchrist
Programming language:
Go
2021-03-24 08:13:09
0
Q:
go create new instance of struct
Universal Link
Code:
Go
2021-08-20 23:03:29
type Person struct { Name string } func main() { var me Person me.name = "mattalui" }
0
Tags
new
create
struct
Related
mongo object references in mongoose
go struct methods
golang mongo create index
New to Communities?
Join the community