mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-29 16:36:05 +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()
|
|
}
|