Installation
Download go
official & Getting Started
golang中国
Go Complier:
offcial: gc
GNU GC: gccgo
Go supports 3 instruction sets
amd64 (a.k.a. x86-64); 6g,6l(Plan9 gc),6c,6a // support x84-64, naming as amd64
is to amd's contribution of inventing 64bit instruction set
386 (a.k.a. x86 or x86-32); 8g,8l,8c(Plan9 gc)继续阅读 »
上代码:
{}
package main
import (
"fmt"
)
func xrange() chan int {
var ch chan int = make(chan int)
go func() {
for i := 2; ; i++ {
fmt.Printf("xrange about to send %d\n", i)
ch继续阅读 »
New features
Add --links, --linkdirs and --includedirs configure arguments
Add app2ipa plugin
Add dictionary syntax style for xmake.lua
Provide smart scanning and building mode without xmake.lua
Add set_xmakever api for xmake.lua
Add add_frameworks api for objc and swift
Support multi-languages extension and add golan继续阅读 »