Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use pure-go implementation when cgo is disabled #161

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jul 5, 2023

  1. feat: use pure-go implementation when cgo is disabled

    This implements a pure-go alternative driver whenever CGO_ENABLED=0
    
    Related: go-gorm#93
    Fixes: go-gorm#35
    Fixes: go-gorm#72
    Fixes: go-gorm#77
    Fixes: go-gorm#160
    aymanbagabas committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    e4f9f7a View commit details
    Browse the repository at this point in the history
  2. feat(ci): test with/out cgo

    Format yaml using prettier
    
    Remove go1.17 since modernc.org/sqlite requires at least go1.18
    aymanbagabas committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    6ad5e83 View commit details
    Browse the repository at this point in the history
  3. fix: enable cgo when pure tag is passed

    This enables running tests that require CGO like `go test -race` when
    using pure-go sqlite through passing `-tags pure` build flag
    aymanbagabas committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    744e464 View commit details
    Browse the repository at this point in the history