conditionally build elastic, gocdk to reduce binary size

This commit is contained in:
chrislu
2022-04-21 01:10:46 -07:00
parent 6994e88192
commit 3885374edf
10 changed files with 137 additions and 72 deletions

View File

@@ -0,0 +1,9 @@
/*
Package gocdk_pub_sub is for Azure Service Bus and RabbitMQ.
The referenced "gocloud.dev/pubsub" library is too big when compiled.
So this is only compiled in "make full_install".
*/
package gocdk_pub_sub

View File

@@ -1,3 +1,6 @@
//go:build gocdk
// +build gocdk
// Package gocdk_pub_sub supports the Go CDK (Cloud Development Kit) PubSub API,
// which in turn supports many providers, including Amazon SNS/SQS, Azure Service Bus,
// Google Cloud PubSub, and RabbitMQ.