mattn / go-gtk

Go binding for GTK
http://mattn.github.com/go-gtk
BSD 3-Clause "New" or "Revised" License
2.11k stars 247 forks source link

Issue 345: add travis and dep #362

Closed lidaobing closed 6 years ago

lidaobing commented 6 years ago

/close #345

mattn commented 6 years ago

Thanks. I will to remove dependency about github.com/garyburd/go-oauth since this is used in example.

crazy-max commented 6 years ago

Concerning this PR, i have an issue linked to gdk package. Dep seems to not resolve the symlink gdk_freebsd.go and i've got this error while ensure from an other project :

"github.com/mattn/go-gtk/gtk" imports "github.com/mattn/go-gtk/gdk", which contains malformed code: X:\dev\neard\www\go\pkg\dep\sources\https---github.com-mattn-go--gtk\gdk\gdk_freebsd.go:1:1: expected 'package', found 'IDENT' gdk_linux

Do you have any clue @lidaobing ?

For the moment i have ignored the package for sqweek/dialog#13.

mattn commented 6 years ago

As you can see at here, gdk_freebsd.go is symbolic link to gdk_linux.go. Maybe your git command seems to be fail to clone.