WithLockAction sets the Action of the lock.
(action LockAction)
| 2334 | |
| 2335 | // WithLockAction sets the Action of the lock. |
| 2336 | func WithLockAction(action LockAction) LockOption { |
| 2337 | return func(c *LockOptions) { |
| 2338 | c.Action = action |
| 2339 | } |
| 2340 | } |
| 2341 | |
| 2342 | // WithLockTables sets the Tables of the lock. |
| 2343 | func WithLockTables(tables ...string) LockOption { |
no outgoing calls
searching dependent graphs…