package route import ( uuid "github.com/satori/go.uuid" "strings" ) func genTraceId() string { traceId := strings.Replace(uuid.NewV4().String(), "-", "", -1) traceId = traceId[:len(traceId)/2] return traceId }