diff options
author | Runxi Yu <me@runxiyu.org> | 2025-01-13 14:12:37 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-01-13 14:12:37 +0800 |
commit | b626ea8beb4bc1eef134a990eb1a7361c1c126b1 (patch) | |
tree | e054c0b34b6d009e22487f73a7beb4e4e77c9bd2 /scfg/writer.go | |
parent | Add color to logging functions (diff) | |
download | go-lindenii-common-b626ea8beb4bc1eef134a990eb1a7361c1c126b1.tar.gz go-lindenii-common-b626ea8beb4bc1eef134a990eb1a7361c1c126b1.tar.zst go-lindenii-common-b626ea8beb4bc1eef134a990eb1a7361c1c126b1.zip |
Reformat code
Diffstat (limited to 'scfg/writer.go')
-rw-r--r-- | scfg/writer.go | 4 |
1 files changed, 1 insertions, 3 deletions
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 { |