{backup,snapshot}: Rename common code to export
This commit is contained in:
parent
b3a827e042
commit
bf57c0d5a6
14 changed files with 145 additions and 133 deletions
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/tkw1536/goprogram/lib/reflectx"
|
||||
)
|
||||
|
||||
var metaCache sync.Map
|
||||
var metaCache sync.Map // Map[reflect.Type]meta
|
||||
|
||||
// getMeta gets the component belonging to a component type
|
||||
func getMeta[C Component]() meta {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue