diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2025-01-04 16:13:45 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2025-01-04 16:13:45 +0100 |
| commit | 43b1e0c39171e207ff37a1e0d4844483bd6f3775 (patch) | |
| tree | 074ea03478ac120b1bf64db7f23a4827dad6532a /internal/hack | |
| parent | 807a25b638e38d7c0446bb728412fb16fd035035 (diff) | |
| download | go-gg-43b1e0c39171e207ff37a1e0d4844483bd6f3775.tar.gz | |
add SQL support
Diffstat (limited to 'internal/hack')
| -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> |
