2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
12
Task/Singleton/Go/singleton-5.go
Normal file
12
Task/Singleton/Go/singleton-5.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package red
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"single"
|
||||
)
|
||||
|
||||
func SetColor() {
|
||||
log.Println("trying to set red")
|
||||
single.SetColor("red")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue