D5188: [WIP] Basic support for building Go projects.

Mikhail Ivchenko noreply at phabricator.kde.org
Tue May 16 19:09:05 UTC 2017


ematirov added a comment.


  In https://phabricator.kde.org/D5188#110166, @arrowdodger wrote:
  
  > In https://phabricator.kde.org/D5188#110152, @ematirov wrote:
  >
  > > There is no "project file" in Go, but specifying "*.go" as mimetype works perfect.
  >
  >
  > Doesn't Go has its own build system? This should serve as "project file", like Makefiles or CMakeLists.txt for C/C++.
  
  
  Go's build system uses files layout (see https://golang.org/doc/code.html <https://golang.org/doc/code.html> and https://github.com/golang/go/wiki/GithubCodeLayout <https://github.com/golang/go/wiki/GithubCodeLayout>). But even in this case user isn't forced to place all project files in GOPATH, afaik, it's possible to use "go build", "go run", "go install" in any directory containing go project even if it's not in GOPATH. So, "Go project" is just a directory with bunch of files and sub-directories.

REPOSITORY
  R59 KDevelop Go

BRANCH
  building_feature

REVISION DETAIL
  https://phabricator.kde.org/D5188

To: ematirov, #kdevelop, mwolff
Cc: arrowdodger, mwolff, apol, kdevelop-devel, #kdevelop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170516/a70a946d/attachment-0001.html>


More information about the KDevelop-devel mailing list