You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Task | Code Example | Reference |
---|
Creating an insurance of a struct | type Student struct {
Name string
Age int
}
b := Student{ Name: "Bob", }
| link |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|