mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-12 23:02:45 +00:00
Merge validated Go split into workspace split
This commit is contained in:
commit
dee6b4c2fc
1 changed files with 4 additions and 3 deletions
|
|
@ -1,9 +1,10 @@
|
|||
package main
|
||||
|
||||
import "animal"
|
||||
// This fixture exercises method enrichment and a valid same-package free call.
|
||||
// A different package with a normal import cannot refer to Dog or Classify bare.
|
||||
package animal
|
||||
|
||||
func main() {
|
||||
dog := Dog{}
|
||||
sound := dog.Speak()
|
||||
category := Classify("dog")
|
||||
_, _ = sound, category
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue