Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 12 of 12 for srcDirs (0.12 seconds)

  1. src/cmd/cgo/doc.go

    When the cgo directives are parsed, any occurrence of the string ${SRCDIR}
    will be replaced by the absolute path to the directory containing the source
    file. This allows pre-compiled static libraries to be included in the package
    directory and linked properly.
    For example if package foo is in the directory /go/src/foo:
    
    	// #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo
    
    Will be expanded to:
    
    	// #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. api/go1.txt

    pkg go/build, method (*Context) Import(string, string, ImportMode) (*Package, error)
    pkg go/build, method (*Context) ImportDir(string, ImportMode) (*Package, error)
    pkg go/build, method (*Context) SrcDirs() []string
    pkg go/build, method (*NoGoError) Error() string
    pkg go/build, method (*Package) IsCommand() bool
    pkg go/build, type Context struct
    pkg go/build, type Context struct, BuildTags []string
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top