Support for Jinja2Schema

Is there a similar library available jinja2schema (https://jinja2schema.readthedocs.io/en/latest/) for GO?
Which has handful utilities like identifying the variable types(infer method) like scalar, array or object?

Are you looking for such a library that deals with Go templates (https://golang.org/pkg/text/template/) or with Jinja templates?

I am looking for a library which deals with jinja templates, which can identify the variable types whether it’s an array, object, scalar value

From the Jinja homepage:

Jinja is a modern and designer-friendly templating language for Python

I doubt thate there is much support for a Python templating language in Go, especially for the special purpose of infering types.