开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
struct

struct

go

将XML解组为[]structs,并使用xml.Name。

英文: unmarshal xml to []structs with xml.Name 问题 问题 我需要将来自第三方应用程序的XML解组到我的GO结构中。 我尝试过的方法 我创建了结构体,并且能够...
huangapple 2022年4月29日143评论go struct
go

Golang解析JSON响应,然后将字段名转换为snake_case。

英文: Golang unmarshal JSON response, then convert the field name into snake_case 问题 我想要获取具有PascalCase...
huangapple 2022年4月28日152评论go json
go

结构标签是否对API用户抛出错误?

英文: Do struct tags throw error to the API user? 问题 type Person struct { Id string Roll_no int Email ...
huangapple 2022年4月26日161评论go struct
go

How to coerce _string-type_ to _fixed-length string-type_ in Go?

英文: How to coerce _string-type_ to _fixed-length string-type_ in Go? 问题 我有一个简单的程序,用于打开一个文本文件,每行有两个用空...
huangapple 2022年4月24日151评论go string
go

Autofill created_at and updated_at in golang struct while pushing into mongodb

英文: Autofill created_at and updated_at in golang struct while pushing into mongodb 问题 在上述代码中如何在使用gol...
huangapple 2022年4月17日175评论go mongodb
go

从结构方法字段访问结构字段

英文: access to struct field from struct method field 问题 如何从结构体方法字段PrintName中访问结构体字段Name的值 示例: type Da...
huangapple 2022年4月16日169评论go struct
go

如何在嵌套结构中同时更改内部结构和原始结构。

英文: How to change both inner and original struct in a nested struct 问题 我是你的中文翻译助手,以下是翻译好的内容: 我刚开始学习G...
huangapple 2022年4月14日155评论go struct
go

将通道传递给方法或直接访问嵌套的结构对象。

英文: Pass channel in to method or access nested struct object directly 问题 我正在翻译以下内容: 我正在使用的基础代码将通道传递给...
huangapple 2022年4月12日131评论go struct
go

在Golang中,{}表示一个空的代码块或空的结构体字面量。

英文: What is {} in Golang? 问题 我在讲义中看到了这个代码片段: setCollection := map[string]struct{}{ "uniqElement1...
huangapple 2022年4月12日148评论go struct
go

如何在Golang中访问此结构体的字段

英文: How to access the fields of this struct in Golang 问题 我是你的中文翻译助手,以下是翻译好的内容: 我对Golang还不熟悉,我想知道如何从以...
huangapple 2022年4月11日198评论go struct
98

文章导航

1 … 18 19 20 21 22 23 24 25 26 … 98
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17130531

热门标签

node.js android r arrays pandas java html json flutter go c# c++ css javascript reactjs spring-boot sql python typescript spring

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码