go recursive1 源码

2022-07-15 浏览 (861)

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 源码

  • 所属分类: 后端技术
  • 本文标签: golang
  • 版权声明: 本文链接 https://seaxiang.com/blog/ba2fcebda7ed497887b97d6ed32b902b