Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitcall usercode runner

Usage

To build your Go usercode runner you need to include github.com/corezoid/gitcall-go-runner/gitcall package, implement usercode handler function and main function. See example code:

package main

import (
	"context"

	"github.com/corezoid/gitcall-go-runner/gitcall"
)

func main() {
	gitcall.Handle(func (_ context.Context, data map[string]interface{}) error {
        data["foo"] = "bar"
       
        return nil
   })
}

Test

> make install
> make build-test
> make test

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages