Coding
Requirements
Go v1.18+ (Download here)
Build
Clone the repository and build the binary:
After the build process, the binary is available as core
For more build options, run make help.
Repository
Cross Compile
If you want to run the binary on a different operating system and/or architecture, you create the appropriate binary by simply setting some environment variables, e.g.
Docker
Build the Docker image and run it to try out the API with FFmpeg
How to customize FFmpeg
Custom Docker imagesCode style
The source code is formatted with go fmt
, or run make fmt
. Static analysis of the source code is done with staticcheck
(see staticcheck), or run make lint
.
Before committing changes, you should run make commit
to ensure that the source code is in shape.
Last updated