appengine
moduleThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
CEL REPL Web
Provides a simple web interface for working with the CEL REPL.
The two main components are 1) a Go application that implements a servicewrapping the REPL and serving static web content 2) an angular based web pagethat provides an interface around the API.
The REPL service is stateless -- it initializes a new REPL instance and appliesthe requested commands in order on each request.
Development
Node.js and Go (>=1.18) are required to run the application.
To run the application in development mode, run the npm watch scriptand run the Go server as follows:
# from the `repl/appengine/web` directory:npm run watch# from the repl/appengine directory:go run ./main --serve_static ./web/dist/webDeploy on google cloud appengine
Build the angular application with
npm run build.Follow the instructions here:(https://cloud.google.com/appengine/docs/standard/go/building-app). Make sure tofollow the instructions for setting up your gcloud cli, and the appenginesupport in cloud console for your project.
Directories¶
| Path | Synopsis |
|---|---|
Package app provides a simple JSON API for using the REPL in a web application. | Package app provides a simple JSON API for using the REPL in a web application. |
package main provides an entry point for the REPL web server. | package main provides an entry point for the REPL web server. |