code cleanup
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
//goland:noinspection SpellCheckingInspection
|
||||
var DICT = "ABCDEFGHJKLMNOPQRSTUVWXYZabcdefhijkmnopqrstuvwxyz23456789"
|
||||
var sharecodeRexEx = regexp.MustCompile("^CSGO(?:-?[\\w]{5}){5}$")
|
||||
var sharecodeRexEx = regexp.MustCompile("^CSGO(?:-?\\w{5}){5}$")
|
||||
|
||||
func DecodeSharecode(code string) (uint64, uint64, uint16, error) {
|
||||
if !sharecodeRexEx.MatchString(code) {
|
||||
|
Reference in New Issue
Block a user