Installation¶
Requirements¶
- Go 1.19 or later
- Git (for fetching the module)
Install via Go Modules¶
The easiest way to install the H5P Go SDK is using Go modules:
Verify Installation¶
Create a simple test file to verify the installation:
// test.go
package main
import (
"fmt"
"github.com/grokify/h5p-go"
)
func main() {
builder := h5p.NewQuestionSetBuilder()
fmt.Println("H5P Go SDK installed successfully!")
fmt.Printf("Builder created: %T\n", builder)
}
Run the test:
You should see:
Development Installation¶
If you want to contribute to the project or need the latest development version:
Dependencies¶
The H5P Go SDK has minimal external dependencies:
- Standard library packages only for core functionality
- No runtime dependencies for basic usage
- Optional dependencies for advanced features (validation, etc.)
Next Steps¶
- Quick Start Tutorial - Your first H5P content
- Basic Concepts - Understanding H5P fundamentals