Thanks to visit codestin.com
Credit goes to github.com

Skip to content

danielbaker/go-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buildkite example pipeline

Add to Buildkite

This repository is an example Buildkite pipeline for building & running a golang program.

The pipeline demonstrates the usage of the docker plugin to build the golang binary, a block step to collect information from the user, and prints the binary output to the console which is visible in the build logs.

Prerequisites

See the full Getting Started Guide for step-by-step instructions on how to signup for buildkite and setup your first agent.

Building the project in your local workspace

$ go build -o dist/hello ./hello

A simple application that takes a command line argument, and then returns it to you in a string:

$ chmod +x dist/hello
$ ./dist/hello John Doe

The above will return 'Hello, John Doe!'

License

See LICENSE (Apache License)

About

Go example projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 58.1%
  • Go 41.9%