Refactor import paths to use the new repository location for go-winrt

- Updated import paths in multiple files to point to the new repository at git.savin.nyc/alex/go-winrt.
- Removed old import paths referencing saltosystems/winrt-go.
- Ensured consistency across all affected files in the Bluetooth Generic Attribute Profile and Foundation packages.
This commit is contained in:
2025-08-22 17:52:08 -04:00
parent a6c09a5890
commit 0a314257f8
40 changed files with 118 additions and 121 deletions

View File

@ -7,7 +7,7 @@ import (
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/saltosystems/winrt-go/internal/codegen"
"git.savin.nyc/alex/go-winrt/internal/codegen"
)
const methodFilterUsage = `The filter to use when generating the methods. This option can be set several times,

View File

@ -8,10 +8,10 @@ import (
"path/filepath"
"strings"
"git.savin.nyc/alex/go-winrt"
"git.savin.nyc/alex/go-winrt/internal/winmd"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/saltosystems/winrt-go"
"github.com/saltosystems/winrt-go/internal/winmd"
"github.com/tdakkota/win32metadata/types"
"golang.org/x/tools/imports"
)

View File

@ -5,7 +5,7 @@ import (
"strings"
"text/template"
"github.com/saltosystems/winrt-go/internal/winmd"
"git.savin.nyc/alex/go-winrt/internal/winmd"
)
type genDataFile struct {
@ -130,7 +130,7 @@ func (i genImport) ToGoImport() string {
}
folder := typeToFolder(i.Namespace, i.Name)
return "github.com/saltosystems/winrt-go/" + folder
return "git.savin.nyc/alex/go-winrt/" + folder
}
// some of the variables are not public to avoid using them

View File

@ -9,8 +9,8 @@ import (
"syscall"
"unsafe"
"github.com/go-ole/go-ole"
"github.com/saltosystems/winrt-go"
"github.com/saltosystems/winrt-go/internal/kernel32"
"git.savin.nyc/alex/go-winrt"
"git.savin.nyc/alex/go-winrt/internal/kernel32"
{{range .Imports}}"{{.}}"
{{end}}
)