Last active
March 30, 2022 19:31
-
-
Save dictav/3d372ae5aaf3c890bfa8d3f811cef790 to your computer and use it in GitHub Desktop.
Go 1.18 Experiment files
This file contains hidden or 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 main | |
type Experiment struct{} |
This file contains hidden or 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 main | |
type ExperimentHoge struct{} |
This file contains hidden or 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
module example.com/experiment | |
go 1.17 |
This file contains hidden or 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 main | |
import "fmt" | |
func main() { | |
exp := Experiment{} | |
fmt.Println(exp) | |
exphoge := ExperimentHoge{} | |
fmt.Println(exphoge) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment