sftpgo/dataprovider/mysql_disabled.go
2020-06-19 17:08:51 +02:00

17 lines
240 B
Go

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