rts-sim-module/repository/repository_ceshi.go
2023-10-10 16:51:07 +08:00

18 lines
427 B
Go

package repository
import (
"fmt"
"joylink.club/rtsssimulation/repository/model/proto"
)
//测试
func BuildRepositoryForSignalTest(source *proto.Repository) *Repository {
repository := newRepository(source.Id, source.Version)
buildModels(source, repository)
if err := buildSignalRelationShip(source, repository); err != nil {
fmt.Println("===>>buildSignalRelationShip error : ", err.Error())
}
return repository
}