------------------------------------------------------------------------- config Structure represents persistent config storage of the gocode daemon. Usually the config is located somewhere in ~/.config/gocode directory. -------------------------------------------------------------------------
| 20 | //------------------------------------------------------------------------- |
| 21 | |
| 22 | type config struct { |
| 23 | ProposeBuiltins bool `json:"propose-builtins"` |
| 24 | LibPath string `json:"lib-path"` |
| 25 | CustomPkgPrefix string `json:"custom-pkg-prefix"` |
| 26 | CustomVendorDir string `json:"custom-vendor-dir"` |
| 27 | Autobuild bool `json:"autobuild"` |
| 28 | ForceDebugOutput string `json:"force-debug-output"` |
| 29 | PackageLookupMode string `json:"package-lookup-mode"` |
| 30 | CloseTimeout int `json:"close-timeout"` |
| 31 | UnimportedPackages bool `json:"unimported-packages"` |
| 32 | Partials bool `json:"partials"` |
| 33 | IgnoreCase bool `json:"ignore-case"` |
| 34 | ClassFiltering bool `json:"class-filtering"` |
| 35 | } |
| 36 | |
| 37 | var g_config_desc = map[string]string{ |
| 38 | "propose-builtins": "If set to {true}, gocode will add built-in types, functions and constants to autocompletion proposals.", |
nothing calls this directly
no outgoing calls
no test coverage detected