Showing posts with label golang. Show all posts
Showing posts with label golang. Show all posts

Sunday, February 18, 2018

GWT+GoLang

I made some experiment how to use GWT technology as GUI for Golang applications and formed it as a some easy small example project on GitHub. It shows very simple example of communication between GWT front-end and Golang back-end.

Thursday, January 18, 2018

how to create Golang project with maven archetype

I have made small GIF which shows how to make a GoLang project with maven archetype and build it
mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa -DarchetypeArtifactId=mvn-golang-hello -DgroupId=HiGo -DartifactId=hello

Sunday, February 12, 2017

JCP 6.1.1 is out

New version of Java Comment Preprocessor 6.1.1 is out. In the New Version mainly improved maven options and improved some text functions to make it more compatible with GoLang.
Now it is possible preprocess GoLang and it is possible to load a binary file and represent it as a byte array through just only line command (see example)
var imageArray = []uint8{/*$binfile("./image.png","uint8[]")$*/}

Monday, November 7, 2016

mvn-golang plugin 2.1.2 is out

Maven plugin to work with GoLang in maven is out and accessible through the Maven central. Also I made some example of project with multiple modules and shared sources, it can be downloaded as zip or investigated in github

Saturday, May 28, 2016

GoLang maven wrapper 2.1.0 is out

the new 2.1.0 version of the maven golang wrapper has been published in the maven central. Main new feature - support for branches and tags for dependencies and creating of new artifact with packed project folders in local maven repository. Also fixed bug in test command and minor refactoring.

Tuesday, April 19, 2016

"Hello World!" in GoLang with Maven

if you have installed maven on your machine and would like to try GoLang then now it is possible in just two terminal lines:
 
$ mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa -DarchetypeArtifactId=mvn-golang-hello -DarchetypeVersion=2.0.0 -DgroupId=com.go.test -DartifactId=gohello -Dversion=1.0-SNAPSHOT
$ mvn -f ./gohello/pom.xml package
 
The First line creates a simple GoLang project from a maven archetype, the project is based on usage of the mvn-golang-wrapper, and the second one build and run the project.
 

Saturday, March 26, 2016

Released mvn-golang-wrapper 1.0.0

I has been published the initial 1.0.0 version of the mvn-golang-wrapper plugin in the maven central. The Example "Hello World" for the plugin can be cloned here.

Thursday, March 24, 2016

GoLang with Maven

I very like the Maven build tool and decided to make some plugin to wrap main GoLang commands and provide possibility to build GoLang applications directly with Maven. For that I have started OSS project https://github.com/raydac/mvnGoLang
It wraps commands:
  • clean
  • get
  • build
  • install
  • test
also it can automatically download needed GoLang SDK and cache it.