diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/hack/convert_assign.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/hack/convert_assign.go b/internal/hack/convert_assign.go new file mode 100644 index 0000000..f1cb3d8 --- /dev/null +++ b/internal/hack/convert_assign.go @@ -0,0 +1,17 @@ +/******************************************************************************* +* Copyright 2025 Stefan Majewsky <majewsky@gmx.net> +* SPDX-License-Identifier: Apache-2.0 +* Refer to the file "LICENSE" for details. +*******************************************************************************/ + +package hack + +import ( + _ "database/sql" + _ "unsafe" +) + +//go:linkname ConvertAssign database/sql.convertAssign +func ConvertAssign(dest, src any) error + +// ^ NOTE: This is needed because of <https://github.com/golang/go/issues/62146> |
