Files
steampipe/constants/runtime/execution_id.go
kaidaguerre e0ff19a280 Update package naming to be consistent and follow Go standards. Closes #1282
General code spring cleaning:
* move file paths from `consts` package to `filepaths`
* move InitData and ExportData to query and control packages
2022-01-04 12:28:36 +00:00

15 lines
283 B
Go

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