Product
Introducing Java Support in Socket
We're excited to announce that Socket now supports the Java programming language.
generator-ibm-core-golang-gin
Advanced tools
This generator produces a simple Gin-based Golang server application, with all the ingredients you need for a good start at building a cloud native application. It can be run locally or remotely (e.g. IBM Cloud).
npm install -g yo
npm install -g generator-ibm-core-golang-gin
yo core-golang-gin
This will create an application in your $GOPATH/src/<application-name>
directory.
Following command line arguments are supported:
--bluemix='{"name":"<application-name>","backendPlatform":"GO"}'
.--bluemix='{"name":"<application-name>"' --spec='{"applicationType":"<application-type>"}'
.--bluemix file:path/to/file.json
Here is a list of the files and folders you receive after executing the generator:
File | Purpose |
---|---|
README.md | Instructions for building, running, and deploying the application |
Gopkg.toml | Toml file containing application dependencies used for dep |
public/* | Folder containing files for server landing page |
run-dev | Simple shell script to run application in dev mode |
server.go | Contains server configuration |
routers/* | Folder containing router configuartion files |
Clone this repository and link it via npm
git clone https://github.com/ibm-developer/generator-ibm-core-golang-gin.git
cd generator-ibm-core-golang-gin
npm link
In a separate directory invoke the generator via
yo ibm-core-golang-gin
To run the unit tests
npm test
In order to publish changes, you will need to fork the repository or branch off the master
branch.
Make sure to follow the conventional commit specification before contributing. To help you with commit a commit template is provide. Run config.sh
to initialize the commit template to your .git/config
or use commitizen
Once you are finished with your changes, run npm test
to make sure all tests pass.
Do a pull request against master
, make sure the build passes. A team member will review and merge your pull request.
Once merged to master
an auto generated pull request will be created against master to update the changelog. Make sure that the CHANGELOG.md and the package.json is correct before merging the pull request. After the auto generated pull request has been merged to master
the version will be bumped and published to Artifactory.
FAQs
Generates a server using the gin framework
The npm package generator-ibm-core-golang-gin receives a total of 0 weekly downloads. As such, generator-ibm-core-golang-gin popularity was classified as not popular.
We found that generator-ibm-core-golang-gin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We're excited to announce that Socket now supports the Java programming language.
Security News
Socket detected a malicious Python package impersonating a popular browser cookie library to steal passwords, screenshots, webcam images, and Discord tokens.
Security News
Deno 2.0 is now available with enhanced package management, full Node.js and npm compatibility, improved performance, and support for major JavaScript frameworks.