Integrate P4 API for Go

P4 API for Go works with Go 1.24 or later. To integrate P4 API for Go into the Go application, you must complete the following:

Download P4 API for Go

Download P4 API for Go from the following locations:

Integrate P4 API for Go using P4 API for C/C++ and OpenSSL

Depending on what operating system you are using determines which version of P4 API for C/C++ and OpenSSL to use.

See the following pages for how to get the relevant files to integrate P4 API for Go on your operating system.