th7/core/adapter.go
2022-11-16 19:53:11 +00:00

14 lines
199 B
Go

package core
import (
"th7/core/th7"
"th7/data/config"
"th7/ports"
)
func NewAdapter(pcb ports.PCBPort, cfg config.Config) (ports.CorePort, error) {
return th7.NewTH7Adapter(pcb, cfg), nil
}