go recursive1 源码

  • 2022-07-15
  • 浏览 (878)

golang recursive1 代码

文件路径:/test/interface/recursive1.dir/recursive1.go

// Copyright 2012 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.

// Mutually recursive type definitions imported and used by recursive1.go.

package p

type I1 interface {
	F() I2
}

type I2 interface {
	I1
}

相关信息

go 源码目录

相关文章

go recursive2 源码

0  赞