@@ -14,7 +14,7 @@ type ServerCtx struct {
}
func GenerateServerName() string {
- return fmt.Sprintf("satoripc-%s.sock", uuid.NewV4().String())
+ return fmt.Sprintf("satoripc-%s.sock", uuid.Must(uuid.NewV4()).String())
func GeneratePath() string {
@@ -15,7 +15,7 @@ type ServerCtx struct {
- return fmt.Sprintf("satoripc-%s", uuid.NewV4().String())
+ return fmt.Sprintf("satoripc-%s", uuid.Must(uuid.NewV4()).String())