Files
steampipe/pkg/constants/runtime/execution_id.go

15 lines
291 B
Go

package runtime
import (
"fmt"
"time"
"github.com/turbot/steampipe/pkg/constants"
"github.com/turbot/steampipe/pkg/utils"
)
var (
ExecutionID = utils.GetMD5Hash(fmt.Sprintf("%d", time.Now().Nanosecond()))
PgClientAppName = fmt.Sprintf("%s_%s", constants.AppName, ExecutionID)
)