denandz / glorp

A CLI-based HTTP intercept and replay proxy
BSD 3-Clause "New" or "Revised" License
248 stars 14 forks source link

Add github.com/denandz/ to imports #4

Closed magisterquis closed 3 years ago

magisterquis commented 3 years ago

Should make download and install a simple

go get github.com/denandz/glorp
go install github.com/denandz/glorp

as it resolves the errors

package glorp/proxy: unrecognized import path "glorp/proxy": import path does not begin with hostname
package glorp/views: unrecognized import path "glorp/views": import path does not begin with hostname
denandz commented 3 years ago

A note for the curious, go get still doesnt work due to an issue with TView

/go# go get github.com/denandz/glorp
# github.com/rivo/tview
src/github.com/rivo/tview/box.go:343:63: cannot convert b.borderAttributes (type tcell.AttrMask) to type tcell.Style
src/github.com/rivo/tview/table.go:331:108: cannot convert attributes (type tcell.AttrMask) to type tcell.Style
src/github.com/rivo/tview/table.go:888:150: cannot convert cell.Attributes (type tcell.AttrMask) to type tcell.Style
src/github.com/rivo/tview/table.go:957:63: cannot convert a (type tcell.AttrMask) to type tcell.Style
src/github.com/rivo/tview/table.go:1020:24: invalid operation: t.selectedStyle != 0 (mismatched types tcell.Style and int)

This is due to: https://github.com/rivo/tview/issues/506