rewrite connections, messages system, add dm message history, fix multiple bugs, update machine-client
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
func ConvertStringUint32(s string) (uint32, error) {
|
||||
@@ -26,3 +28,7 @@ func ConvertStringToRgb(str string) ([3]uint8, error) {
|
||||
}
|
||||
return rgb, nil
|
||||
}
|
||||
|
||||
func ConvertStringUuid(str string) (uuid.UUID, error) {
|
||||
return uuid.Parse(str)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user