go

获取已知结构字段的名称

英文: Obtaining the name of a known struct field 问题 我有一个表示数据库中对象的结构体,类似于: type Object struct { Id stri...
go

如何在Go中读取二进制文件

英文: How to read a binary file in Go 问题 我完全不了解Go语言,我正在尝试逐字节或逐几个字节地读取二进制文件。文档没有提供太多帮助,我也找不到任何教程或简单的示例(...
go

NTLM身份验证使用Go

英文: NTLM authentication using Go 问题 我需要在Windows和Unix上进行Exchange EWS的身份验证。 有没有任何库或其他东西可以在Go中使用来实现这一点?...
go

理解接口

英文: Understanding Interface 问题 type Info interface { Noofchar() int } type Testinfo struct { noofcha...
go

在Go中声明空类型

英文: declaring empty types in go 问题 对于给定的类型Data,我想定义一组过滤器,每个过滤器以某种方式处理Data。有些过滤器只需要处理数据,而其他过滤器可能需要额外的...