diff -pruN 1.0-RC4-1/debian/changelog 1.0-RC4-1ubuntu1/debian/changelog
--- 1.0-RC4-1/debian/changelog	2021-01-16 20:58:20.000000000 +0000
+++ 1.0-RC4-1ubuntu1/debian/changelog	2022-03-16 18:37:17.000000000 +0000
@@ -1,3 +1,9 @@
+golang-github-manyminds-api2go (1.0-RC4-1ubuntu1) jammy; urgency=medium
+
+  * Fix FTBFS with Go 1.18
+
+ -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com>  Wed, 16 Mar 2022 13:37:17 -0500
+
 golang-github-manyminds-api2go (1.0-RC4-1) unstable; urgency=medium
 
   * Team upload.
diff -pruN 1.0-RC4-1/debian/control 1.0-RC4-1ubuntu1/debian/control
--- 1.0-RC4-1/debian/control	2021-01-16 20:58:20.000000000 +0000
+++ 1.0-RC4-1ubuntu1/debian/control	2022-03-16 18:37:17.000000000 +0000
@@ -1,7 +1,8 @@
 Source: golang-github-manyminds-api2go
 Section: golang
 Priority: optional
-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
 Uploaders: Diego M. Rodriguez <diego.plan9@gmail.com>,
 Build-Depends: debhelper-compat (= 13),
                dh-golang,
diff -pruN 1.0-RC4-1/debian/patches/fix-ftbfs-with-go1.18.patch 1.0-RC4-1ubuntu1/debian/patches/fix-ftbfs-with-go1.18.patch
--- 1.0-RC4-1/debian/patches/fix-ftbfs-with-go1.18.patch	1970-01-01 00:00:00.000000000 +0000
+++ 1.0-RC4-1ubuntu1/debian/patches/fix-ftbfs-with-go1.18.patch	2022-03-16 18:37:17.000000000 +0000
@@ -0,0 +1,55 @@
+Description: Fix FTBFS with Go 1.18
+ Go 1.18 is more strict about unused variables. There are some
+ unused variables in this package that have already been deleted
+ in the upstream repository
+Origin: upstream, https://github.com/GlenPickle/api2go/commit/4e34a06d27e6b961326cf75238250e3d03530aab
+Applied-Upstream: https://github.com/GlenPickle/api2go/commit/4e34a06d27e6b961326cf75238250e3d03530aab
+Forwarded: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007788
+Last-Update: 2022-03-16
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: golang-github-manyminds-api2go-1.0-RC4/api_interfaces_test.go
+===================================================================
+--- golang-github-manyminds-api2go-1.0-RC4.orig/api_interfaces_test.go
++++ golang-github-manyminds-api2go-1.0-RC4/api_interfaces_test.go
+@@ -414,14 +414,13 @@
+ 	var (
+ 		api                *API
+ 		rec                *httptest.ResponseRecorder
+-		payload, payloadID SomeData
++		payload             SomeData
+ 	)
+ 
+ 	BeforeEach(func() {
+ 		api = NewAPI("v1")
+ 		api.AddResource(SomeData{}, ResourceDeletionOnly{})
+ 		rec = httptest.NewRecorder()
+-		payloadID = SomeData{ID: "12345", Data: "A Brezzn"}
+ 		payload = SomeData{Data: "A Brezzn"}
+ 	})
+ 
+Index: golang-github-manyminds-api2go-1.0-RC4/api_test.go
+===================================================================
+--- golang-github-manyminds-api2go-1.0-RC4.orig/api_test.go
++++ golang-github-manyminds-api2go-1.0-RC4/api_test.go
+@@ -1052,7 +1052,6 @@
+ 	Context("marshal errors correctly", func() {
+ 		var (
+ 			source    *fixtureSource
+-			post1Json map[string]interface{}
+ 
+ 			api *API
+ 			rec *httptest.ResponseRecorder
+@@ -1063,12 +1062,6 @@
+ 				"1": {ID: "1", Title: "Hello, World!"},
+ 			}, false}
+ 
+-			post1Json = map[string]interface{}{
+-				"id":    "1",
+-				"title": "Hello, World!",
+-				"value": nil,
+-			}
+-
+ 			api = NewAPI("")
+ 			api.AddResource(Post{}, source)
+ 
diff -pruN 1.0-RC4-1/debian/patches/series 1.0-RC4-1ubuntu1/debian/patches/series
--- 1.0-RC4-1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ 1.0-RC4-1ubuntu1/debian/patches/series	2022-03-16 18:35:20.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-with-go1.18.patch
