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