mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-26 06:46:07 +03:00
11 lines
160 B
Go
11 lines
160 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/weichou1229/go-patterns/playground/singleton/internal"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
var s = internal.GetSingletonObject()
|
||
|
s.SayHi()
|
||
|
}
|