progrium / darwinkit

Native Mac APIs for Go. Previously known as MacDriver
MIT License
4.42k stars 147 forks source link

module github.com/progrium/macdriver@latest found (v0.4.0), but does not contain package github.com/progrium/macdriver/keycode #225

Closed b0a04gl closed 8 months ago

b0a04gl commented 8 months ago

o: display imports github.com/progrium/macdriver/keycode: module github.com/progrium/macdriver@latest found (v0.4.0), but does not contain package github.com/progrium/macdriver/keycode

go version go1.21.3 darwin/amd64

go.mod `

module display

go 1.21.3

require (
    fyne.io/fyne/v2 v2.4.1
    github.com/progrium/macdriver v0.4.0
)

require (
    fyne.io/systray v1.10.1-0.20230722100817-88df1e0ffa9a // indirect
    github.com/davecgh/go-spew v1.1.1 // indirect
    github.com/fredbi/uri v1.0.0 // indirect
    github.com/fsnotify/fsnotify v1.6.0 // indirect
    github.com/fyne-io/gl-js v0.0.0-20220119005834-d2da28d9ccfe // indirect
    github.com/fyne-io/glfw-js v0.0.0-20220120001248-ee7290d23504 // indirect
    github.com/fyne-io/image v0.0.0-20220602074514-4956b0afb3d2 // indirect
    github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
    github.com/go-gl/glfw/v3.3/glfw v0.0.0-20221017161538-93cebf72946b // indirect
    github.com/go-text/render v0.0.0-20230619120952-35bccb6164b8 // indirect
    github.com/go-text/typesetting v0.0.0-20230616162802-9c17dd34aa4a // indirect
    github.com/godbus/dbus/v5 v5.1.0 // indirect
    github.com/gopherjs/gopherjs v1.17.2 // indirect
    github.com/jsummers/gobmp v0.0.0-20151104160322-e2ba15ffa76e // indirect
    github.com/pmezard/go-difflib v1.0.0 // indirect
    github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect
    github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect
    github.com/stretchr/testify v1.8.4 // indirect
    github.com/tevino/abool v1.2.0 // indirect
    github.com/yuin/goldmark v1.5.5 // indirect
    golang.org/x/image v0.11.0 // indirect
    golang.org/x/mobile v0.0.0-20230531173138-3c911d8e3eda // indirect
    golang.org/x/net v0.14.0 // indirect
    golang.org/x/sys v0.11.0 // indirect
    golang.org/x/text v0.12.0 // indirect
    gopkg.in/yaml.v3 v3.0.1 // indirect
    honnef.co/go/js/dom v0.0.0-20210725211120-f030747120f2 // indirect
)

`

upon go get or go build it throws below error

`➜  go get
go: display imports
        github.com/progrium/macdriver/keycode: cannot find module providing package github.com/progrium/macdriver/keycode`

project structure:

`.
├── clip-save
├── display
│   ├── display
│   ├── go.mod
│   ├── go.sum
│   └── main.go
├── go.mod
├── go.sum
├── main.go
└── server
    ├── main.go
    └── server

3 directories, 10 files`
progrium commented 8 months ago

What exactly is importing github.com/progrium/macdriver/keycode? This has never existed.

progrium commented 8 months ago

Any more information on this? It's not very actionable as is so I'll have to close eventually.