hello

package module
v0.0.0-...-11c10d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2016 License: MIT Imports: 1 Imported by: 0

README

hello

🔧 hello world in Golang.

GoDoc Build Status Coverage Status

Usage

$ hello
Hello world !

Install

$ go get github.com/moul/golang-boilerplate/cmd/...

Run with docker

$ docker run moul/golang-boilerplate
Hello world !

License

MIT

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hello

type Hello struct {
	Message string
}

func NewHello

func NewHello(msg string) Hello

func (*Hello) Hey

func (h *Hello) Hey() (string, error)
Example
instance := NewHello("world")
greetings, _ := instance.Hey()
fmt.Println(greetings)
Output:

Hello world !

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL