Files
2026-02-12 21:10:33 +01:00

18 lines
483 B
Go

package main
import (
"github.com/tech/sendico/payments/methods/internal/appversion"
si "github.com/tech/sendico/payments/methods/internal/server"
"github.com/tech/sendico/pkg/mlogger"
"github.com/tech/sendico/pkg/server"
smain "github.com/tech/sendico/pkg/server/main"
)
func factory(logger mlogger.Logger, file string, debug bool) (server.Application, error) {
return si.Create(logger, file, debug)
}
func main() {
smain.RunServer("main", appversion.Create(), factory)
}