synapsecns/sanguine

View on GitHub
services/omnirpc/metadata/buildinfo.go

Summary

Maintainability
A
0 mins
Test Coverage
package metadata

import "github.com/synapsecns/sanguine/core/config"

var (
    version = config.DefaultVersion
    commit  = config.DefaultCommit
    date    = config.DefaultDate
)

// BuildInfo returns the build info for the service.
func BuildInfo() config.BuildInfo {
    return config.NewBuildInfo(version, commit, "omnirpc", date)
}