types 全部 | 未解决 | 已解决
2019.08.29 00:58来自 douqing0713

[已解决] 如何通过扩展类型向基本类型(如int)添加功能?

<div class="post-text" itemprop="text"> <p>I would love to be able to add methods to an existing type li...
2

回答

2019.08.25 13:07来自 douji1077

定义可以容纳User struct类型数组的结构

<div class="post-text" itemprop="text"> <p>How would i call a function that returns array to the variabl...
0

回答

2019.08.20 06:37来自 dongtan9465

[已解决] dynamodbattribute.UnmarshalMap将我的变量类型更改为map [string] interface {}

<div class="post-text" itemprop="text"> <p><strong>Background</strong></p> <p>I am trying to Unmarshal ...
2

回答

2019.08.14 14:56来自 doudg60800

[已解决] 如何查找类型是否为float64

<div class="post-text" itemprop="text"> <p>I am trying to find if a variable is of type float64: </p> <...
1

回答

2019.08.02 09:17来自 dsgwii4867

类型名称*名称如何工作?

<div class="post-text" itemprop="text"> <p>I was looking at some examples on golang.org homepage and fou...
0

回答

2019.07.27 16:12来自 dongnai2804

在NewX函数上返回指针背后有充分的理由吗? [重复]

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

回答

2019.07.17 08:54来自 doupai8095

结构嵌入,函数输入,多态

<div class="post-text" itemprop="text"> <p>I have a parent struct :</p> <pre><code>type BigPoly struct{...
1

回答

2019.07.15 22:33来自 dongyi3776

如何在golang中使解组函数处理多种类型?

<div class="post-text" itemprop="text"> <p>I'm using the json.unmarshalling function in golang to decode...
1

回答

2019.07.14 22:37来自 dongye9071

[已解决] Float64类型在Golang中打印为int

<div class="post-text" itemprop="text"> <p>Surprisingly I couldn't find anyone else having this same iss...
1

回答

2019.06.25 05:37来自 doutan4831

[已解决] 将类型断言自定义类型更改为基本类型

<div class="post-text" itemprop="text"> <p>Is it possible to type assert a custom type to its base type?...
2

回答