From 72c757b7a44dc5d19d821f7c2fa36bb082e4f2e3 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Mon, 17 Apr 2023 13:28:47 +0200 Subject: Save rtree with go 1.20 --- internal/rtree/main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/rtree/main.go') diff --git a/internal/rtree/main.go b/internal/rtree/main.go index f401ced..7e27428 100644 --- a/internal/rtree/main.go +++ b/internal/rtree/main.go @@ -24,11 +24,11 @@ import ( "github.com/majewsky/gofu/internal/cli" ) -//Exec executes the rtree applet and returns an exit code (0 for success, >0 -//for error). The argument is os.Args minus the leading "rtree" or "gofu -//rtree". All side-effects (reading from stdin, writing to stdout/stderr, -//executing other programs) pass through cli.Interface and can be intercepted -//there for the purpose of testing. +// Exec executes the rtree applet and returns an exit code (0 for success, >0 +// for error). The argument is os.Args minus the leading "rtree" or "gofu +// rtree". All side-effects (reading from stdin, writing to stdout/stderr, +// executing other programs) pass through cli.Interface and can be intercepted +// there for the purpose of testing. func Exec(args []string) int { if !Init() { return 1 -- cgit v1.3.1