README ¶ go-guide 练习Go 工作空间 basic 包含基础语法等练习,例如:字符串,切片,map等module advance 进阶,高级知识,例如:同步,锁,channel,并发等 testing 单元测试等 design 设计模式等 创建工作空间 cd ./basic && \ go work init 创建module mkdir xxx && \ go mod init github.com/zz-guide/go-guide/basic/xxx module 加入工作空间 go work use ./xxx Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis _aaa _draft/io_pro/main2 command ASN.1 DaytimeClient ASN.1 DaytimeClient _draft/io_pro/main3 command _draft/io_pro/test command 例子1------------------------------------------------------------- 例子1------------------------------------------------------------- _draft/io_pro/test/testdir _draft2/code/src/chapter01/io command io.Reader 接口示例 io.Reader 接口示例 _draft2/code/src/chapter06/filepath/walk command _draft2/code/src/chapter06/os/dirtree command _draft2/code/src/chapter09 command _draft2/code/src/chapter09/httptest command _draft2/code/src/chapter09/testing _draft2/code/src/chapter10 command _draft2/code/src/chapter13/flag command _draft2/code/src/util interview/gc command interview/memory/escape command interview/memory/heap command interview/memory/stack command interview/question/q1 command interview/slice command interview/vslice command scene command advance cgo/cg1 command cgo/cg2 channel/buffer command channel/chan command channel/chanclose command channel/defaultselect command channel/emptyselect command channel/forrange command channel/forselect command channel/nobuffer command channel/timeout command context/c1 command context/c2 command context/c3 command cpu/cpu1 command crypto/aes crypto/base64 defer/d1 command defer/d2 command encryption/aes command encryption/base64 command encryption/hash command encryption/hmac command encryption/md5 command encryption/sha/sha1 command encryption/sha/sha256 command encryption/sha/sha512 command goroutine/g1 command goroutine/g2 command goroutine/g3 command goroutine/gid command jsonp command log/log1 memoryAlign/ma1 command memoryEscape command memoryLeak/ml command number/binary_conversion command number/decimal command options/o1 command overflow/of1 command pointer command pprof/http command pprof/local/cpu command pprof/local/memory command reflect/reflect1 command reflect/reflect2 command reflect/reflect3 command select/s1 command signal/signal1 command sync/atomic/a1 command sync/atomic/bool sync/atomic/duration sync/atomic/float sync/atomic/spin sync/cond command sync/errgroup command sync/lock/barrier sync/lock/m1 command sync/lock/m2 command sync/lock/m3/mutex command sync/lock/rwm/r1 command sync/lock/rwm/r2 command sync/map/m1 command sync/map/sm command sync/once command sync/pool/p1 command sync/waitgroup/w1 command sync/waitgroup/w2 command sync2/sync/cond command sync2/sync/nocopy command sync2/sync/pool command sync2/sync/syncmap command typecompare command typecompare/struct command variableEqual command basic args/a1 command byte/b1 command byte/b2 command byte/transfer command embed command enum/stringEnum command errors/error1 command errors/error2 command errors/error3 command exec/command exec/env exec/process command file/create command file/csv command file/f1 command file/f2 command fmt/strformat command for/for1 command for/forrange command func command functioncollection/f1 command functioncollection/f2 command functioncollection/f3 command functioncollection/f4 command generic/generic1 command init/a1 command init/b2 init/c3 interface/emptyInterface command interface/i1 command interface/i2 command interface/i5 command interface/i6 command interface/implementInterface command interface/interfaceNesting command iota/i1 command json/j1 command json/j2 command json/j3 json/j4 包注释 包注释 jump command list/l1 command make command map/m1 command map/m2 command map/m3 command map/sourceCode/m1 command network/crossdomain/cors command network/crossdomain/jsonp command network/csrf command network/dns command network/http/code command network/http/example/client command network/http/example/server command network/http/http command network/http/http/t1 command network/socket/tcp/cexample command network/socket/tcp/example1/client command network/socket/tcp/example1/server command network/socket/tcp/resolvesticky/client command network/socket/tcp/resolvesticky/protocol network/socket/tcp/resolvesticky/server command network/socket/tcp/sticky/client command network/socket/tcp/sticky/server command network/socket/udp/example1/client command network/socket/udp/example1/server command network/url network/websocket/example1 command network/xss command nil/n1 command nil/n2 command number/parse panic/p1 command panic/p2 command panic/p3 command print/fmt/f1 command print/log/l1 command quote/q1 command quote/q2 command rand/crypto command rand/math command regexp/r1 command rune/r1 command runtime/r1 command runtime/r2 command runtime/r3 command runtime/r4 command scanner/scanner1 slice command slice/expand command slice/inArray command slice/remove command slice/reverse command slice/sliceFunc slice/sliceappend command slice/slicefor command sort/sort1 string/str command string/strfor command string/strings command string/transfer command struct/anonymousfield/af1 command struct/anonymousfield/af2 command struct/anonymousfield/af3 command struct/anonymousfield/af4 command struct/anonymousfield/af5 command struct/embed/e1 command struct/embed/e2 command struct/embed/e3 command struct/embed/e4 command struct/embed/e4/eee struct/embed/e4/t struct/embed/e5 command struct/embed/e6 command struct/embed/e7 command struct/packmethod command struct/s1 command struct/s2 command struct/s3 command struct/s4 struct/s5 command struct/s6 command struct/s7 command switch/s1 switch/switchcase/s1 command time/t1 command time/t2 command time/t3 command time/t4 command time/t5 typeAssert command typeTransfer command typeTransfer/number2string command typeTransfer/string2number command types command uintptr command valueAndQuote/vq1 command variable command array module std module testing fuzzing/f1 command testing/fib testing/t1 command Click to show internal directories. Click to hide internal directories.