Add application workflow and lead analytics
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package graph
|
||||
|
||||
import "time"
|
||||
|
||||
func timeValue(value *time.Time) time.Time {
|
||||
if value == nil {
|
||||
return time.Now()
|
||||
}
|
||||
return *value
|
||||
}
|
||||
|
||||
func stringValue(value *string) string {
|
||||
if value == nil {
|
||||
return ""
|
||||
}
|
||||
return *value
|
||||
}
|
||||
|
||||
func stringPtr(value string) *string { return &value }
|
||||
Reference in New Issue
Block a user