From a24db7ea1713097364c0bb5639ea497b7e5cb862 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 24 Jun 2024 20:52:30 +0200 Subject: [PATCH] Add `go run` method to README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1194b73f..5a022752 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,13 @@ Alternatively, you can pull it from [Github packages](https://github.com/daveshanley/vacuum/pkgs/container/vacuum). To do that, replace `dshanley/vacuum` with `ghcr.io/daveshanley/vacuum` in the above commands. +## Run with Go + +If you have go >= 1.16 installed, you can use `go run` to build and run it: + +``` +go run github.com/daveshanley/vacuum@latest lint +``` ---