File tree Expand file tree Collapse file tree 5 files changed +5
-0
lines changed
Expand file tree Collapse file tree 5 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ func NewRegister() interfaces.Register {
2121 return r
2222}
2323
24+ // Regist は、advanced パッケージ配下に存在するサンプルを登録します.
2425func (r * advancedExampleRegister ) Regist (m interfaces.ExampleMapping ) {
2526 m ["async01" ] = async .Async01
2627 m ["async_producer_consumer" ] = async .ProducerConsumer
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ func NewRegister() interfaces.Register {
4545 return r
4646}
4747
48+ // Regist は、basic パッケージ配下に存在するサンプルを登録します.
4849func (r * basicExampleRegister ) Regist (m interfaces.ExampleMapping ) {
4950 m ["builtin_print" ] = builtin_ .PrintFunc
5051 m ["error_basic" ] = error_ .Basic
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ func NewRegister() interfaces.Register {
1414 return r
1515}
1616
17+ // Regist は、books パッケージ配下に存在するサンプルを登録します.
1718//noinspection GoUnusedParameter
1819func (r * booksExampleRegister ) Regist (m interfaces.ExampleMapping ) {
1920}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ func NewRegister() interfaces.Register {
1414 return r
1515}
1616
17+ // Regist は、effectivego パッケージ配下に存在するサンプルを登録します.
1718func (r * effectivegoExampleRegister ) Regist (m interfaces.ExampleMapping ) {
1819 m ["effective_go_intro" ] = Introduction
1920 m ["effective_go_formatting" ] = Formatting
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ func NewRegister() interfaces.Register {
1414 return r
1515}
1616
17+ // Regist は、tutorial パッケージ配下に存在するサンプルを登録します.
1718func (r * tutorialExampleRegister ) Regist (m interfaces.ExampleMapping ) {
1819 m ["tutorial_gotour_helloworld" ] = HelloWorld
1920 m ["tutorial_gotour_import" ] = Import
You can’t perform that action at this time.
0 commit comments