Skip to content

Add version test to ensure the binaries are on the correct version #21

@taniabogatsch

Description

@taniabogatsch

Use the following function in the unit tests of each (sub)module

func LibraryVersion() string {
	cStr := C.duckdb_library_version()
	defer Free(unsafe.Pointer(cStr))
	return C.GoString(cStr)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions