File: file.go

package info (click to toggle)
golang-github-kubernetes-gengo 0.0~git20250207.1244d31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,528 kB
  • sloc: sh: 90; makefile: 29
file content (10 lines) | stat: -rw-r--r-- 149 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
package foo

type DeepCopyable[T any] interface {
	DeepCopy() T
}

type Blah[T DeepCopyable[T]] struct {
	// V is the first field.
	V T `json:"v"`
}