package
0.6.5
Repository: https://github.com/src-d/gitbase-playground.git
Documentation: pkg.go.dev

# Functions

APIHandlerFunc returns an http.HandlerFunc that will serve the user request taking the serializer.Response and errors from the passed RequestProcessFunc.
DetectLanguage returns a function that detects language by filename and content.
Export returns a function that forwards an SQL query to gitbase and returns the rows as CSV file.
Filter returns a function that filters UAST protobuf and returns UAST JSON.
GetLanguages returns a list of supported languages by bblfsh.
NewStatic creates new Static.
Parse returns a function that parses text contents using bblfsh and returns UAST.
Query returns a function that forwards an SQL query to gitbase and returns the rows as JSON.
Schema returns DB schema.
Version returns a function that returns a *serializer.Response with a current version of server and dependencies.

# Structs

Static without the 'bindata' tag contains a placeholder handler that returns 'not implemented'.

# Type aliases

RequestProcessFunc is a function that takes an http.Request, and returns a serializer.Response and an error.