repositorypackage
0.0.1
Repository: https://github.com/egaprianto/gojebug.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
GOJEBUG
Description
Gojebug is a tool for golang debugging to stdout using standard JSON format.
Example
package main
import "github.com/EgaPrianto/gojebug"
type Compare struct {
Field1 int
Field2 string
}
func main(){
object := Compare{
Field1:23,
Field2: "some words",
}
object2 := Compare{
Field1:23,
Field2: "some words",
}
gojebug.JsonPrint(object)
gojebug.PrettyJsonPrint(object)
gojebug.Equal(object,object2)
}