From 807284d0160da0e9bde180b7187ee1eda31877d6 Mon Sep 17 00:00:00 2001 From: hgouchet Date: Sat, 29 Sep 2018 18:29:40 +0200 Subject: [PATCH] void type is used to build the go code < 1.10 --- utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils.go b/utils.go index fe824a9..34b9683 100644 --- a/utils.go +++ b/utils.go @@ -7,6 +7,9 @@ import ( "github.com/DATA-DOG/godog/colors" ) +// build < go.10 +type void struct{} + var ( red = colors.Red redb = colors.Bold(colors.Red)