go-binary-only-package icon indicating copy to clipboard operation
go-binary-only-package copied to clipboard

miss a use binary package example

Open atlas-comstock opened this issue 8 years ago • 4 comments

Could you please add a example of how to use binary package? Thank you.

atlas-comstock avatar Nov 11 '16 07:11 atlas-comstock

I already wrote one, if you don't mind, I can make a merge request.

package main

import (
    "fmt"
    "hello"
)

func main() {
    fmt.Println(" start program ")
    fmt.Println(" print program :", hello.Hello("hello world"))
}

atlas-comstock avatar Nov 11 '16 08:11 atlas-comstock

Please make PR, I will merge

tcnksm avatar Nov 11 '16 09:11 tcnksm

@tcnksm Thanks. Already submit one. I am now developing a tool for golang-binary-package-generator. :P

atlas-comstock avatar Nov 11 '16 10:11 atlas-comstock

@tcnksm Thank you for the your example. I have made a deploy script for golang-binary-package-generator, as the example is not straight to add here.

atlas-comstock avatar Nov 15 '16 10:11 atlas-comstock