mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
430 B
19 lines
430 B
//go:build !cgo |
|
// +build !cgo |
|
|
|
// This is a stub for the no CGO compilation (CGO_ENABLED=0) |
|
|
|
package sql |
|
|
|
import ( |
|
"fmt" |
|
"log/slog" |
|
|
|
"github.com/dexidp/dex/storage" |
|
) |
|
|
|
type SQLite3 struct{} |
|
|
|
func (s *SQLite3) Open(logger *slog.Logger) (storage.Storage, error) { |
|
return nil, fmt.Errorf("SQLite storage is not available: binary compiled without CGO support. Recompile with CGO_ENABLED=1 or use a different storage backend.") |
|
}
|
|
|