- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UnmarshalFuncV2 (0.12 sec)
-
test/typeparam/issue48185b.dir/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "./a" "fmt" ) func main() { _ = a.UnmarshalOptions1{ Unmarshalers: a.UnmarshalFuncV2(func(opts a.UnmarshalOptions1, dec *a.Decoder1, val *interface{}) (err error) { return fmt.Errorf("error") }), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 395 bytes - Viewed (0) -
test/typeparam/issue48185b.dir/a.go
} type Decoder1 struct { } func (a *arshalers[Options, Coder]) lookup(fnc func(Options, *Coder, addressableValue) error, t reflect.Type) func(Options, *Coder, addressableValue) error { return fnc } func UnmarshalFuncV2[T any](fn func(UnmarshalOptions1, *Decoder1, T) error) *arshalers[UnmarshalOptions1, Decoder1] { return &arshalers[UnmarshalOptions1, Decoder1]{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 07 20:37:05 UTC 2021 - 1K bytes - Viewed (0)