sftpgo-mirror/dataprovider/mysql_disabled.go
2021-06-26 07:31:41 +02:00

17 lines
243 B
Go

// +build nomysql
package dataprovider
import (
"errors"
"github.com/drakkan/sftpgo/v2/version"
)
func init() {
version.AddFeature("-mysql")
}
func initializeMySQLProvider() error {
return errors.New("MySQL disabled at build time")
}