Sign in
go
/
go.git
/
refs/heads/dev.go2go
/
.
/
test
/
gen
/
g036.dir
/
a.go2
blob: 2ec4445a48e3d9771c293b021d1b10c23e30e5c4 [
file
] [
log
] [
blame
]
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package
a
type S
[
T any
]
struct
{
F T
}
func
NewS
[
T any
](
v T
)
S
[
T
]
{
return
S
[
T
]{
F
:
v
}
}