feat:完善信息
This commit is contained in:
23
app/basic/config/memory_test.go
Normal file
23
app/basic/config/memory_test.go
Normal file
@ -0,0 +1,23 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"SciencesServer/utils"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestMemory(t *testing.T) {
|
||||
MemoryForIndustryInfo["01"] = &MemoryForIndustry{
|
||||
Name: "01",
|
||||
Children: map[string]*MemoryForIndustry{
|
||||
"001": &MemoryForIndustry{
|
||||
Name: "001",
|
||||
Children: nil,
|
||||
},
|
||||
"002": &MemoryForIndustry{
|
||||
Name: "002",
|
||||
Children: nil,
|
||||
},
|
||||
},
|
||||
}
|
||||
t.Logf(utils.AnyToJSON(MemoryForIndustryInfo))
|
||||
}
|
Reference in New Issue
Block a user