example

command module
v0.0.0-...-e9a73fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 4 Imported by: 0

README

Example

To run the example you need to obtain the built rust library.

# On M1+ Mac (note arch)
curl -fsSL https://github.com/daulet/tokenizers/releases/download/v1.20.2/libtokenizers.darwin-aarch64.tar.gz | tar xvz

# change -L argument to where you've placed the library download above
go run -ldflags="-extldflags '-L$(pwd)'" main.go

or make build from the parent directory and go run -ldflags="-extldflags '-L..'" main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL