Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProjectID ¶
GetProjectID attempts to determine the GCP project ID from the environment. It checks in the following order: 1. Environment variables (GOOGLE_CLOUD_PROJECT, GCLOUD_PROJECT) 2. Application Default Credentials (ADC) 3. GCP metadata server (if running on GCP) Returns an error if no project ID could be determined.
func IsZero ¶
func IsZero[T comparable](v T) bool
func ToPtr ¶
func ToPtr[T comparable](v T) *T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.