Go

Go is one of the languages we love and use at VirusTotal, integrating YARA-X into Go programs is a must for us. Therefore, the Go library is a first-class citizen in the YARA-X ecosystem and we use it every day.

Building the Go library

The Go library uses the C API under the hood, so the first thing you must do is building and installing the C library as explained in Building the C library.

Go API

Please refer to the package documentation.