aboutsummaryrefslogtreecommitdiff
path: root/embedded_css.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-08-01 20:31:25 +0700
committerShulhan <ms@kilabit.info>2022-08-01 20:39:38 +0700
commitf0be5f35c325da2aebea6e0d98f035ad23dc3019 (patch)
tree270513ab0d9872a9b30b799ad084a181378fbad1 /embedded_css.go
parent0a9e6c793dc1d91d71db6838e2c45adecc6aae92 (diff)
downloadciigo-f0be5f35c325da2aebea6e0d98f035ad23dc3019.tar.xz
all: clean up codes
Replace any usage of ":=" with explicit variable declaration for better types clarity.
Diffstat (limited to 'embedded_css.go')
-rw-r--r--embedded_css.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/embedded_css.go b/embedded_css.go
index f4a675d..3ffddf9 100644
--- a/embedded_css.go
+++ b/embedded_css.go
@@ -12,7 +12,7 @@ func embeddedCSS() *template.CSS {
return _embeddedCSS
}
- css := template.CSS(`
+ var css template.CSS = template.CSS(`
body {
margin: 0;
font-family: Arial, sans-serif;