Current Path : /usr/local/go/src/go/doc/testdata/pkgdoc/ |
Current File : //usr/local/go/src/go/doc/testdata/pkgdoc/doc.go |
// Copyright 2022 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 pkgdoc import ( crand "crypto/rand" "math/rand" ) type T int type U int func (T) M() {} var _ = rand.Int var _ = crand.Reader type G[T any] struct{ x T } func (g G[T]) M1() {} func (g *G[T]) M2() {}