Pull plugin dependencies that are not already in glauth's go.mod Use a general embed tag instead of embedsqlite and embedmysql
13 lines
242 B
Go
13 lines
242 B
Go
//go:build embed
|
|
|
|
package server
|
|
|
|
import (
|
|
"github.com/glauth/glauth/v2/pkg/embed"
|
|
"github.com/glauth/glauth/v2/pkg/handler"
|
|
)
|
|
|
|
func NewEmbed(opts ...handler.Option) (handler.Handler, error) {
|
|
return embed.NewSQLiteHandler(opts...), nil
|
|
}
|