struct 全部 | 未解决 | 已解决
2019.09.23 06:43来自 duanhu7390

[已解决] Golang将任何结构存储在其他结构字段中

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

回答

2019.09.19 08:31来自 dqnf28092

[已解决] 如何使用较少的字段将结构转换为其他结构

<div class="post-text" itemprop="text"> <p>I am trying to copy a struct of type Big to type Small withou...
4

回答

2019.09.18 21:23来自 douchao1864

定义结构并将其编组为JSON的问题

<div class="post-text" itemprop="text"> <p>What would be the best way to represent the following in a st...
2

回答

2019.09.14 03:38来自 dongliang9682

如何使协会的请求主体属于一个组织

<div class="post-text" itemprop="text"> <p>I have <strong>People</strong> and <strong>Data</strong> , w...
1

回答

2019.09.13 10:50来自 drhgzx4727

[已解决] 如何在Go中使用自定义属性类型进行JSON解组

<div class="post-text" itemprop="text"> <p>In my project, I've defined structures so that get data from ...
1

回答

2019.09.11 15:48来自 douju9272

从sqlite3数据库和模型struct标记读取表时出现问题

<div class="post-text" itemprop="text"> <p>I'm trying to implement a function in Go where I need to conn...
2

回答

2019.09.11 09:15来自 dourao1896

[已解决] 如何在golang proto中获取所有字段名称生成复杂的结构

<div class="post-text" itemprop="text"> <p>I am trying to get all the fields names in the go file genera...
1

回答

2019.09.09 12:43来自 dqm4675

[已解决] 解析动态XML

<div class="post-text" itemprop="text"> <p>I understand how to unmarshal simple xml data to Go structs b...
2

回答

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

回答