interface 全部 | 未解决 | 已解决
2019.09.25 07:03来自 douwen0612

关于接口分配

<div class="post-text" itemprop="text"> <p>Why doesn't Go think it's type mismatch error when a struct p...
2

回答

2019.09.19 14:39来自 douzhun4124

[已解决] 我可以使用嵌套接口模拟出库代码吗? [重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> ...
2

回答

2019.09.15 05:48来自 donglianjiang9321

通用方法和建议如何消除依赖

<div class="post-text" itemprop="text"> <p>I have a question regarding dependency injection. Please con...
1

回答

2019.09.13 14:54来自 duanlei7101

[已解决] 将类型转换接口指针转换为接口指针[重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> ...
1

回答

2019.09.13 11:06来自 douzheng0702

[已解决] 为什么我们在Go的界面中不能拥有属性? [关闭]

<div class="post-text" itemprop="text"> <p>I understand you cannot do it, and understand how interfaces ...
1

回答

2019.09.09 12:34来自 dss087358

[已解决] 如何为指向不同结构的指针实现相同的功能?

<div class="post-text" itemprop="text"> <p>Suppose I have a lot of different structs, but they all share...
2

回答

2019.09.07 15:56来自 dongxi8993

如何动态分配静态类型

<div class="post-text" itemprop="text"> <p>I'm having a bit of trouble getting my head around the proper...
0

回答

2019.09.06 06:33来自 dsfphczao23473056

如何设计一个接口,该接口返回只能满足紧急情况的另一种接口类型

<div class="post-text" itemprop="text"> <p>Short premise: I try to design a package which holds several ...
2

回答

2019.09.04 15:47来自 dragon_9000

[已解决] Golang在私有访问结构中嵌入接口

<div class="post-text" itemprop="text"> <p>I want to replicate the following Java code in Golang in the ...
1

回答

2019.08.25 19:02来自 duanchongzi9997

[已解决] 关于golang规范中方法值的部分中的“非接口方法”是什么意思?

<div class="post-text" itemprop="text"> <p><a href="https://golang.org/ref/spec#Method_values" rel="nofo...
2

回答