Documentation
¶
Overview ¶
Package editor includes editor related manipulations.
Index ¶
- func AutocompleteHandler(w http.ResponseWriter, r *http.Request)
- func FindDeclarationHandler(w http.ResponseWriter, r *http.Request)
- func FindUsagesHandler(w http.ResponseWriter, r *http.Request)
- func GetExprInfoHandler(w http.ResponseWriter, r *http.Request)
- func GoFmtHandler(w http.ResponseWriter, r *http.Request)
- func WSHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutocompleteHandler ¶
func AutocompleteHandler(w http.ResponseWriter, r *http.Request)
AutocompleteHandler handles request of code autocompletion.
func FindDeclarationHandler ¶
func FindDeclarationHandler(w http.ResponseWriter, r *http.Request)
FindDeclarationHandler handles request of finding declaration.
func FindUsagesHandler ¶
func FindUsagesHandler(w http.ResponseWriter, r *http.Request)
FindUsagesHandler handles request of finding usages.
func GetExprInfoHandler ¶
func GetExprInfoHandler(w http.ResponseWriter, r *http.Request)
GetExprInfoHandler handles request of getting expression infomation.
func GoFmtHandler ¶
func GoFmtHandler(w http.ResponseWriter, r *http.Request)
GoFmtHandler handles request of formatting Go source code.
This function will select a format tooll based on user's configuration:
- gofmt
- goimports
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.