add order and payment

This commit is contained in:
aditya.siregar
2024-06-04 02:59:31 +07:00
parent 8a23e72230
commit 4ae9079ff9
34 changed files with 810 additions and 1172 deletions
@@ -2,6 +2,7 @@ package generator
import (
"fmt"
uuid2 "github.com/gofrs/uuid"
"math/rand"
"strconv"
"time"
@@ -34,3 +35,8 @@ func GenerateUUID() string {
id := uuid.New()
return id.String()
}
func GenerateUUIDV4() string {
id, _ := uuid2.NewV4()
return id.String()
}