2019-12-10から1日間の記事一覧
Go構造体サンプル Goの構造体はC言語のtypedef structと似ている package main import "fmt" type NoRelateDurg struct { DrugCode string DrugName string } func (drug *NoRelateDurg) DebugInfo() string { return drug.DrugCode + ":" + drug.DrugName }…
Go構造体サンプル Goの構造体はC言語のtypedef structと似ている package main import "fmt" type NoRelateDurg struct { DrugCode string DrugName string } func (drug *NoRelateDurg) DebugInfo() string { return drug.DrugCode + ":" + drug.DrugName }…