Last active
June 27, 2018 00:43
-
-
Save ksakae1216/1d480beb7606b532ae2bf470012f074f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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