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