github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/utils/cache/cachedb/lib_go.go (about)

     1  //go:build no_cgo || linux || (windows && amd64) || darwin
     2  // +build no_cgo linux windows,amd64 darwin
     3  
     4  /*
     5  	This file uses a pure Go driver for sqlite. Unlike lib_c.go, this one does
     6  	not require cgo. For this reason it is the default option for custom builds
     7  	however any pre-built binaries on Murex's website will be compiled against
     8  	the C driver for sqlite.
     9  */
    10  
    11  package cachedb
    12  
    13  import (
    14  	_ "modernc.org/sqlite"
    15  )
    16  
    17  const driverName = "sqlite"