command
module
Version:
v0.0.0-...-2d1357d
Opens a new window with list of versions in this module.
Published: Jun 5, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go web application
Language |
Framework |
Platform |
Go |
NA |
ServiceStage Web App, CCE Cluster |
This sample code helps get you started with a simple Go web application
deployed by ServiceStage WebApp to a CCE Cluster.
This sample includes:
- README.md
- License.md
- Dockerfile - config file for building docker image
- main.go - main source file including the main entrypoint
- static - this directory contains static web page files
Getting Started
Clone your code repository and start developing your application on IDE of your choice
-
Install Go SDK and set GOROOT and GOPATH environment. See https://golang.org/doc/install for details.
-
Change to source file directory and build the application.
$ go build -o main
-
Run executable binary file 'main' to start HTTP server.
$ ./main &
-
Open http://{Server-IP}:8080/ in a web browser to view your application.
if you want to deploy the sample code on servicestage, View your CI/CD pipeline and service stack on ServiceStage and customize it as per your needs
License:
See LICENSE.
Contributing
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.