about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2024-05-09 18:58:14 +0200
committerAlan Pearce2024-05-09 19:28:15 +0200
commit3b379a13710cae2adc56131af1069e6fb92976b8 (patch)
treed7801226ac84e201c6eea11a04941b1137adc78f /justfile
parent0986e8699e87addccbef43c0ce30a466988fed15 (diff)
downloadsearchix-3b379a13710cae2adc56131af1069e6fb92976b8.tar.lz
searchix-3b379a13710cae2adc56131af1069e6fb92976b8.tar.zst
searchix-3b379a13710cae2adc56131af1069e6fb92976b8.zip
style: reformat with golines and enforce on commit
Diffstat (limited to 'justfile')
-rw-r--r--justfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/justfile b/justfile
index 78bea08..6f75d1b 100644
--- a/justfile
+++ b/justfile
@@ -7,10 +7,12 @@ prepare:
 checkformat:
 	gofmt -d .
 	goimports -d .
+	golines --dry-run .
 
 format:
 	gofmt -w .
 	goimports -w .
+	golines -w .
 
 fix:
 	go fix .