#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := example examples

# Go 1.27 promotes encoding/json/v2 to the standard library and enables it by
# default. Under jsonv2, json.RawMessage is aliased to jsontext.Value, which
# breaks funcr's `value.(json.RawMessage)` type assertion and makes TestRender
# render raw JSON as an escaped string. Force the v1 semantics until upstream
# is jsonv2-aware. See https://github.com/golang/go/issues/79770
export GOEXPERIMENT := nojsonv2

%:
	dh $@ --builddirectory=_build --buildsystem=golang
