sftpgo-mirror/cmd/portable_disabled.go
Nicola Murino ad53429cf1 add support for build tag to allow to disable some features
The following build tags are available:

- "nogcs", disable Google Cloud Storage backend
- "nos3", disable S3 Compabible Object Storage backends
- "nobolt", disable Bolt data provider
- "nomysql", disable MySQL data provider
- "nopgsql", disable PostgreSQL data provider
- "nosqlite", disable SQLite data provider
- "noportable", disable portable mode
2020-05-23 11:58:05 +02:00

9 lines
124 B
Go

// +build noportable
package cmd
import "github.com/drakkan/sftpgo/utils"
func init() {
utils.AddFeature("-portable")
}