Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Last active June 27, 2018 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksakae1216/1d480beb7606b532ae2bf470012f074f to your computer and use it in GitHub Desktop.
Save ksakae1216/1d480beb7606b532ae2bf470012f074f to your computer and use it in GitHub Desktop.
package funcpkg
import "fmt"
// Vector 構造体
type Vector struct {
structA string
structB string
}
// StructFunc 構造体のサンプルです
func StructFunc() {
s := Vector{structA: "AAA", structB: "BBB"}
fmt.Println("Vector -> ", s)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment