Initialize the Supabase client
mainYou can initialize a client using supabase.NewClient. You will need your Supabase URL and API Key from your Supabase Admin Panel (Settings -> API Keys).
Security Note: Some APIs require the service_key (e.g., for user administration or bypassing database roles). Never expose the service_key on the client side. If your application needs both service-level and user-level access, create two separate client instances.
client, err := supabase.NewClient(API_URL, API_KEY, &supabase.ClientOptions{})
if err != nil {
fmt.Println("Failed to initalize the client: ", err)
}