From b626ea8beb4bc1eef134a990eb1a7361c1c126b1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 13 Jan 2025 14:12:37 +0800 Subject: Reformat code --- scfg/writer.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scfg') diff --git a/scfg/writer.go b/scfg/writer.go index 97148a3..dd3b166 100644 --- a/scfg/writer.go +++ b/scfg/writer.go @@ -6,9 +6,7 @@ import ( "strings" ) -var ( - errDirEmptyName = errors.New("scfg: directive with empty name") -) +var errDirEmptyName = errors.New("scfg: directive with empty name") // Write writes a parsed configuration to the provided io.Writer. func Write(w io.Writer, blk Block) error { -- cgit v1.2.3