go-jsonnet/examples/bazel/example.jsonnet
John Bartholomew fb07a24f45 feat: add an example bazel module + go binary using the library
This is mostly so that I can add it as the test module to be used
in the bazel registry presubmit
2025-03-16 16:10:31 +00:00

9 lines
133 B
Jsonnet

local Person(name='Alice') = {
name: name,
welcome: 'Hello ' + name + '!',
};
{
person1: Person(),
person2: Person('Bob'),
}