GitBucket
4.23.0
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
sample-golang
/
01_hello
Browse code
add sample
master
1 parent
169ef86
commit
2ab92b63a0e87156071e70c868ee5e76286bfd1a
yhornisse
authored
on 1 Oct 2021
Patch
Showing
1 changed file
struct/struct3.go
Ignore Space
Show notes
View
struct/struct3.go
0 → 100644
package main import "fmt" type SampleStruct struct { Id int64 Name string } func (*SampleStruct) hoge() bool { fmt.Println("hoge") return true } func main() { v1 := SampleStruct{1, "taro"} v1.hoge() }
Show line notes below