Files
sendico/api/pkg/db/internal/mongo/repositoryimp/builderimp/value.go
Stephan D 62a6631b9a
All checks were successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
service backend
2025-11-07 18:35:26 +01:00

18 lines
249 B
Go

package builderimp
import (
"github.com/tech/sendico/pkg/db/repository/builder"
)
type valueImp struct {
value any
}
func (v *valueImp) Build() any {
return v.value
}
func NewValue(value any) builder.Value {
return &valueImp{value: value}
}