NewCASMappingClient returns a client for the CASMapping from the given config.
(c config)
| 868 | |
| 869 | // NewCASMappingClient returns a client for the CASMapping from the given config. |
| 870 | func NewCASMappingClient(c config) *CASMappingClient { |
| 871 | return &CASMappingClient{config: c} |
| 872 | } |
| 873 | |
| 874 | // Use adds a list of mutation hooks to the hooks stack. |
| 875 | // A call to `Use(f, g, h)` equals to `casmapping.Hooks(f(g(h())))`. |
no outgoing calls
no test coverage detected