v0.0.449
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m15s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m15s
This commit is contained in:
parent
fe4cdc48af
commit
d44e971325
@ -1,5 +1,5 @@
|
|||||||
package goext
|
package goext
|
||||||
|
|
||||||
const GoextVersion = "0.0.448"
|
const GoextVersion = "0.0.449"
|
||||||
|
|
||||||
const GoextVersionTimestamp = "2024-05-12T16:45:45+0200"
|
const GoextVersionTimestamp = "2024-05-12T16:51:52+0200"
|
||||||
|
@ -95,7 +95,7 @@ func (c *Coll[TData]) WithUnmarshalHook(fn func(d TData) TData) *Coll[TData] {
|
|||||||
// WithMarshalHook
|
// WithMarshalHook
|
||||||
// function that is called for every object before writing to DB
|
// function that is called for every object before writing to DB
|
||||||
func (c *Coll[TData]) WithMarshalHook(fn func(d TData) TData) *Coll[TData] {
|
func (c *Coll[TData]) WithMarshalHook(fn func(d TData) TData) *Coll[TData] {
|
||||||
c.extraModPipeline = append(c.marshalHooks, fn)
|
c.marshalHooks = append(c.marshalHooks, fn)
|
||||||
|
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user