sftpgo-mirror/dataprovider/mysql_disabled.go

19 lines
259 B
Go
Raw Normal View History

//go:build nomysql
// +build nomysql
package dataprovider
import (
"errors"
2020-06-19 15:08:51 +00:00
"github.com/drakkan/sftpgo/version"
)
func init() {
2020-06-19 15:08:51 +00:00
version.AddFeature("-mysql")
}
func initializeMySQLProvider() error {
return errors.New("MySQL disabled at build time")
}