Files
sendico/api/payments/quotation/internal/appversion/version.go
2026-02-10 18:29:47 +01:00

29 lines
583 B
Go

package appversion
import (
"github.com/tech/sendico/pkg/version"
vf "github.com/tech/sendico/pkg/version/factory"
)
// Build information populated via ldflags.
var (
Version string
Revision string
Branch string
BuildUser string
BuildDate string
)
// Create returns a printer configured for the payment quotation service.
func Create() version.Printer {
vi := version.Info{
Program: "Sendico Payment Quotation Service",
Revision: Revision,
Branch: Branch,
BuildUser: BuildUser,
BuildDate: BuildDate,
Version: Version,
}
return vf.Create(&vi)
}