From 669fbde2acf2c6e8fe4eaecbd74549cc1ad8496f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Baebler?= Date: Fri, 21 Jun 2024 14:54:09 +0200 Subject: [PATCH] Readme: added go run example --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2b128e0..a688b8a 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,15 @@ Prints: [`https://osm.org/go/0Ik3VNr_A-?m`](https://osm.org/go/0Ik3VNr_A-?m) ### Command-line tool +#### Run using Go + +````bash +$ go run github.com/stefanb/osmshortlink-go/cmd@main 46.05141 14.50604 17 +https://osm.org/go/0Ik3VNr_A-?m +```` + +#### Pre-built binaries + You can download pre-built binaries for various platforms from [latest release](https://github.com/stefanb/osmshortlink-go/releases/latest). ```bash