From c62a30fdf616bd59d4822b730298180ad67a475a Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 9 Dec 2024 06:59:55 +0800 Subject: CAP LS: Take version as integer --- cap.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cap.go') diff --git a/cap.go b/cap.go index 06e1f00..2beb771 100644 --- a/cap.go +++ b/cap.go @@ -6,8 +6,10 @@ import ( var Caps = map[string]string{} -var capls string -var capls302 string +var ( + capls string + capls302 string +) // Can't be in init() because Caps will be registered with init in the future // and init()s are executed by filename alphabetical order -- cgit v1.2.3