![]() For example, 'go list all' lists all the packages on the localĥ9 system. element is interpreted as a file system path andĤ3 denotes the package in that directory.Ĥ4 45 Otherwise, the import path P denotes the package found inĤ6 the directory DIR/src/P for some DIR listed in the GOPATHĤ7 environment variable (For more details see: 'go help gopath').Ĥ8 49 If no import paths are given, the action applies to theĥ1 52 There are four reserved names for paths that should not be usedĥ3 for packages to be built with the go tool:ĥ4 55 - "main" denotes the top-level package in a stand-alone executable.ĥ6 57 - "all" expands to all packages found in all the GOPATHĥ8 trees. The CC or CXX environment variables may be set to determineĢ7 the C or C++ compiler, respectively, to use.ģ5 Many commands apply to a set of packages:ģ8 39 Usually, is a list of import paths.Ĥ0 41 An import path that is a rooted path or that begins withĤ2 a. swigcxx extensionĢ2 will be passed to SWIG with the -c++ option.Ģ3 24 When either cgo or SWIG is used, go build will pass any. ![]() ![]() Forġ6 information on how to use it see the cgo documentation (go doc cmd/cgo).ġ7 18 The second is the SWIG program, which is a general tool forġ9 interfacing between languages. 4 5 package helpġ3 There are two different ways to call between Go and C/C++ code.ġ4 15 The first is the cgo tool, which is part of the Go distribution. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. It's just there is lack of keyboard shortcut in Sublime and I wish there is solution or keyboard shortcut for that.Src/ cmd/ go/ internal/ help/ helpdoc.go 1 // Copyright 2011 The Go Authors. On the side note, I'm using both Sublime and VS Code and like both of them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |