Categorygithub.com/jqshuv/example-go-app
modulepackage
1.0.0-beta2
Repository: https://github.com/jqshuv/example-go-app.git
Documentation: pkg.go.dev

# README

Discord GitHub GitHub Sponsors

Example Go Program

This is an example program written in Go. This only opens a simple dialog box with a message in it.

Getting Started

To get started you need the Go programming language. You can get it here. After installing it you can simply follow the next steps.

Build

This is how you build the app.

Windows

This is an example build command which uses custom flags to hide the console on Windows.

go build -ldflags -H=windowsgui -o example-go-app.exe main.go

Linux

This is an example build command for Linux.

go build -o example-go-app main.go

Docker

This is an example build command for Docker.

docker build -t ghcr.io/jqshuv/example-go-app .

Run

This is how you run the app.

Windows

Simply run the made executable called: example-go-app.exe.

Linux

Simply run the made executable called: example-go-app.

Docker

Run the app in a Docker container.

docker run ghcr.io/jqshuv/example-go-app

# Functions

No description provided by the author