P4 API for Go documentation
P4 API for Go is an extension to the Go programming language that allows you to run P4 Server commands from within Go scripts, and get the results in a Go-friendly format.
Get started
Learn how to get started using P4 API for Go.
What's new
Learn about new features and enhancements in P4 API for Go 2025.1.
Program with P4 API for Go
How to create a new client workspace and connect to SSL-enables servers.
P4 API for Go structs and interfaces
Learn about P4 API for Go structs, interfaces and their methods
Need more help? Browse all P4 documentation to find what you need.
© 2025 Perforce Software, Inc. All rights reserved.
Perforce and other identified trademarks are the property of Perforce Software, Inc., or one of its affiliates. Such trademarks are claimed and/or registered in the U.S. and other countries and regions. All third-party trademarks are the property of their respective holders. References to third-party trademarks do not imply endorsement or sponsorship of any products or services by the trademark holder. Contact Perforce Software, Inc., for further details.