Skip to content

c3sr/go-json-call

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-json-call

Library that allows arbitrary Go functions to be called with JSON-formatted arguments and return values. For example:

let args be {"0": 6, "1": 3}

func div(x,y int) int {
    return x / y
}

results := CallWithJSON(div, args)

results is then {"0": 2}

The JSON is indexed by the number of the argument and result.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages