mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-01 07:50:26 +02:00
linter pass
This commit is contained in:
parent
f1d2799a9f
commit
8049ca54d0
13 changed files with 51 additions and 50 deletions
|
@ -92,7 +92,7 @@ func Bind[T any, U any](dt Value[T], callback func(value T) U) Value[U] {
|
|||
func Bind2[T any, U any, V any](dt Value[T], du Value[U], callback func(value1 T, value2 U) V) Value[V] {
|
||||
dv := Deferred[V]()
|
||||
dv.ResolveFunc(func() V {
|
||||
if rand.IntN(2) == 0 {
|
||||
if rand.IntN(2) == 0 { //nolint:gosec
|
||||
return callback(dt.Value(), du.Value())
|
||||
}
|
||||
u := du.Value()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue