// SemanticTypes to use in case there is no client, as in the command line, or tests. func SemanticTypes() []string { … } // SemanticModifiers to use in case there is no client. func SemanticModifiers() []string { … } // SemType returns a string equivalent of the type, for gopls semtok func SemType(n int) string { … } // SemMods returns the []string equivalent of the mods, for gopls semtok. func SemMods(n int) []string { … } var semanticTypes … var semanticModifiers …