Documentation
¶
Overview ¶
analytics package is for internal utility functions for tracking anonymous usage analytics.
Index ¶
- func Close()
- func IsDisabled() bool
- func Track(distinctId string, event string, properties posthog.Properties)
- func TrackCI()
- func TrackCommandGenerate()
- func TrackCommandGenerateEnvDocker()
- func TrackCommandGenerateEnvGitHubActions()
- func TrackCommandGenerateEnvGitLabCI()
- func TrackCommandRun()
- func TrackEvent(event string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDisabled ¶
func IsDisabled() bool
func Track ¶
func Track(distinctId string, event string, properties posthog.Properties)
We want to ensure that we do not collect any telemetry if the user has disabled them. This is a helper function to ensure that we do not collect any telemetry if the user has disabled them.
func TrackCommandGenerate ¶
func TrackCommandGenerate()
func TrackCommandGenerateEnvDocker ¶
func TrackCommandGenerateEnvDocker()
func TrackCommandGenerateEnvGitHubActions ¶
func TrackCommandGenerateEnvGitHubActions()
func TrackCommandGenerateEnvGitLabCI ¶
func TrackCommandGenerateEnvGitLabCI()
func TrackCommandRun ¶
func TrackCommandRun()
func TrackEvent ¶
func TrackEvent(event string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.