editor

package
v0.0.0-...-4657c48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package editor includes editor related manipulations.

Index

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:

  1. gofmt
  2. goimports

func WSHandler

func WSHandler(w http.ResponseWriter, r *http.Request)

WSHandler handles request of creating editor channel. XXX: NOT used at present

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL