Documentation
¶
Overview ¶
Package golang implements compile checking for Go code samples.
The name slightly deviates from the norm: while the Java compile checking is in the package "java", we cannot name this package "go", since it is a reserved keyword.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check sets up the Go compile check, satisfying checker.Func. It copies each snipppet into its own package changing the package name from "main" to "sample". Separating the packages prevents names in the snnipets from colliding, and renaming the packages prevents "go build" from linking all the files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.