1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 20:52:22 +00:00

Merge pull request #110 from fuwensun/pr6

ch3-01-fix typo
This commit is contained in:
chai2010 2018-06-21 21:00:28 +08:00 committed by GitHub
commit 348833e4ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ DATA ·Name+16(SB)/8,$"gopher"
## 定义main函数 ## 定义main函数
前面的例子已经展示如何通过汇编定义整型和字符串类型变量。我们现在将尝试用汇编实现函数,然后输出一个字符串。 前面的例子已经展示如何通过汇编定义整型和字符串类型变量。我们现在将尝试用汇编实现函数,然后输出一个字符串。
先创建main.go文件创建并初始化字符串变量同时声明main函数 先创建main.go文件创建并初始化字符串变量同时声明main函数