Skip to content

Commit 0bac341

Browse files
Tofelgithub-actions[bot]
authored andcommitted
[Bot] Add automatically generated go documentation
1 parent 7bf90e6 commit 0bac341

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

seth/client_builder.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ func (c *ClientBuilder) WithEthClient(ethclient simulated.Client) *ClientBuilder
373373
return c
374374
}
375375

376+
// WithHooks sets the hooks for the ClientBuilder configuration.
377+
// It allows users to define custom behavior during client operations.
378+
// The function returns the updated ClientBuilder instance for method chaining.
376379
func (c *ClientBuilder) WithHooks(hooks Hooks) *ClientBuilder {
377380
c.config.Hooks = &hooks
378381
return c

0 commit comments

Comments
 (0)