main.go (12 lines of code) (raw):
package main
import (
"context"
"log"
"github.com/guardian/cq-source-github-languages/resources/plugin"
"github.com/cloudquery/plugin-sdk/v4/serve"
)
func main() {
if err := serve.Plugin(plugin.Plugin()).Serve(context.Background()); err != nil {
log.Fatalf("failed to serve plugin: %v", err)
}
}