没有合适的资源?快使用搜索试试~ 我知道了~
gopherjs:从Go到JavaScript的编译器,用于在浏览器中运行Go代码
共136个文件
go:120个
json:4个
md:3个
需积分: 9 0 下载量 159 浏览量
2021-01-31
11:06:49
上传
评论
收藏 273KB ZIP 举报
温馨提示
GopherJS-从Go到JavaScript的编译器 GopherJS编译Go代码( )纯JavaScript代码。 它的主要目的是使您有机会在Go中编写前端代码,该代码仍将在所有浏览器中运行。 操场 在上尝试一下 。 支持什么? 几乎所有内容,包括Goroutines()。 在大多数情况下,性能都不错,请参阅。 不支持Cgo。 安装及使用 GopherJS需要Go 1.12或更高版本。 获取或更新GopherJS及其依赖项: go get -u github.com/gopherjs/gopherjs 如果按go version报告的本地Go发行go version比Go 1.12更新,则需要将GOPHERJS_GOROOT环境变量设置为包含Go 1.12发行版的目录。 例如: go get golang.org/dl/go1.12.16 go1.12.16 download export GOPHERJS_GOROOT="$(go1.12.16 env GOROOT)" # Also add this line to your .profile or equival
资源推荐
资源详情
资源评论
收起资源包目录
gopherjs:从Go到JavaScript的编译器,用于在浏览器中运行Go代码 (136个子文件)
syscall.cc 4KB
.gitignore 34B
fs_vfsdata.go 190KB
expressions.go 46KB
reflect.go 39KB
run.go 34KB
prelude_min.go 33KB
tool.go 28KB
fs_vfsdata.go 28KB
build.go 25KB
statements.go 24KB
package.go 24KB
types.go 21KB
simplify.go 20KB
utils.go 15KB
js_test.go 14KB
misc_test.go 11KB
prelude.go 11KB
js_test.go 11KB
jsmapping.go 10KB
goroutines.go 9KB
js.go 8KB
compiler.go 8KB
build_test.go 7KB
info.go 6KB
runtime.go 6KB
js.go 6KB
numeric.go 5KB
math.go 4KB
reflect_test.go 4KB
fetch.go 3KB
syscall_unix.go 3KB
atomic.go 3KB
http.go 3KB
syscall_darwin.go 3KB
gob_test.go 3KB
syscall_windows.go 3KB
assign.go 2KB
time.go 2KB
pool.go 2KB
mutex.go 2KB
sync.go 2KB
map.go 2KB
fd_poll.go 2KB
goroutine_test.go 2KB
strings.go 2KB
escape.go 1KB
example.go 1KB
rand.go 1KB
copy_test.go 1KB
syscall.go 1KB
genmin.go 1KB
driver_test.go 1KB
gorepo_test.go 1KB
ioutil.go 1KB
net.go 1KB
fmtsort_test.go 1KB
once.go 1KB
astutil.go 1KB
alias_test.go 933B
lowlevel_test.go 924B
version_check.go 906B
swapper.go 834B
bool.go 796B
incdecstmt.go 754B
math_test.go 704B
sideeffect.go 682B
fs.go 669B
time_inexternalization.go 663B
sort_test.go 662B
deferblock_test.go 662B
pprof.go 660B
unicode.go 658B
syscall_test.go 655B
aliasing.go 654B
testing.go 642B
fs.go 582B
os.go 581B
io_test.go 574B
break.go 558B
cond.go 511B
bytes.go 508B
pool.go 505B
doc.go 476B
waitgroup.go 446B
testenv.go 424B
sysutil.go 405B
strings_test.go 388B
typesutil.go 388B
doc.go 372B
unix.go 368B
x509_test.go 364B
bits.go 314B
example_test.go 311B
debug.go 298B
example_test.go 269B
sync_test.go 240B
signal.go 233B
bytes_test.go 215B
bytealg.go 181B
共 136 条
- 1
- 2
资源评论
善音
- 粉丝: 21
- 资源: 4611
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功