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

     1  //go:build !no_cgo && !linux && !(windows && amd64) && !darwin
     2  // +build !no_cgo
     3  // +build !linux
     4  // +build !windows !amd64
     5  // +build !darwin
     6  
     7  /*
     8  	This file uses the C SQLite3 library. To compile it you will need gcc
     9  	installed as well as Go. This is why it is disabled by default, with the
    10  	pure Go driver favoured instead.
    11  
    12  	However any pre-built binaries available on Murex's website will be
    13  	compiled against this C library instead.
    14  */
    15  
    16  package cachedb
    17  
    18  import (
    19  	_ "github.com/mattn/go-sqlite3"
    20  )
    21  
    22  const driverName = "sqlite3"