mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-23 05:06:01 +03:00
01aad3573b
Signed-off-by: Bruce <weichou1229@gmail.com>
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()
|
|
}
|