编写模块?

huangapple go评论89阅读模式
英文:

Writing Modules?

问题

我在Google上搜索了很久,但是找不到关于Go模块和如何编写它们的文档。

所以,我的问题是,你如何在Go中编写模块?

英文:

I've been searching Google up and down, but I can't find any documentations on Modules and how to write them.

So, My question is, how do you write Modules in Go?

答案1

得分: 3

模块一词有许多不同的含义。你的定义是什么?

看一下Go的包。阅读如何编写Go代码。阅读Go包文档。由于Go是开源的,可以查看Go包源代码以获取示例。

英文:

The word module has many different meanings. What is your definition?

Take a look at Go packages. Read How to Write Go Code. Read the Go package documentation. Since Go is open source, look at the Go package source code for examples.

答案2

得分: 2

屏幕录像演示如何编写Go包:
http://www.youtube.com/watch?v=jDWBJOXs_iI

英文:

screencast on writing Go packages:
http://www.youtube.com/watch?v=jDWBJOXs_iI

huangapple
  • 本文由 发表于 2010年10月30日 21:35:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/4058911.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定