From cca4b1930a97b82fb3ce37d738f001e8954e4690 Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Mon, 15 Jun 2026 11:36:07 -0600 Subject: [PATCH] function: Add missing dependencies to the Go function template The go.mod and go.sum in the Go function template were missing two transitive dependencies, requiring the user to run `go mod tidy` before any function that uses our generated schemas would build correctly: - `github.com/oapi-codegen/runtime v1.1.0 // indirect` - `github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect` Add these two dependencies and their corresponding go.sum entries to the template in go.tar. Signed-off-by: Adam Wolfe Gordon --- cmd/crossplane/function/templates/go.tar | Bin 40960 -> 40960 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/cmd/crossplane/function/templates/go.tar b/cmd/crossplane/function/templates/go.tar index 1720727f8a7c4d55a2218766f3a0bc6a64f2fdf8..c636e5dd290c2f09a0fa34f15b5c0cf9d5b63995 100644 GIT binary patch delta 532 zcmaLUzfQtX7zJ>^#26=xgCRInO^gY#z4ubENKAwPRS*?Xt8SIvmfGHXOM&ud(HJ)u zBXL!uldgRMU%@x=5rk-B9CZ7pbAI{G#arm&E%bCXaXWt*O@ahO0hmBg1o3!W6axSb z4;0|Q00uQbxbQl5t~#pItkngBEuS?RCD=8v;33XKJm3LWhpTE=ru)#?+tf|6xndMe zJ)2CWWR@3LBUV7=gOwbyleCj^D{GU6*{Zis`5Gg_|H;Ebo-j=qHP~K`=Cy`daUHND zqQi=85WD1bw_s)$#ej5HD0d{OCt9}U-!Hz;4bkRujcM4xRB+q0WfIJJkcVGjx9G6# z1GPgFNBbVO4BhgoCob4)Iu3){d}QTwT($mZB&$LuIX3 zja3Di+NWfr)Ym1U-myGv7f*7yl#zUO;~_m*58m8{FQX8Er1&!j9L)hy;%APj)zIvJ jPaA-lsGpuDn5gOA9p{}NFqd~W