GithubHelp home page GithubHelp logo

flymake-go's Introduction

flymake-go

An Emacs flymake handler for go-mode files

Installing

Requirements

flymake-go requires gofmt which is bundled in standard go package.

Download file

Using package.el

package.el is a package manager module for Emacs. If you are not familiar with it I strongly recommend using it. On EmacsWiki is an instruction how to us it.

If you have MELPA repository activated then simply:

M-x package-install flymake-go

Otherwise download flymake-go.el and:

  • move it into your site-lisp directory and byte-compile
  • use package.el to handle managing this package: M-x package-install-file flymake-go.el

Update .emacs configuration file

Add to your .emacs

(eval-after-load "go-mode"
  '(require 'flymake-go))

Others

Flycheck

Flycheck essentially it's flymake done right.

I encourage you to give a try to flycheck. Read more

flymake-go's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flymake-go's Issues

Not finding $GOPATH

Hello, I'm getting an error when trying to import files from my local Go workspace

I have my GOPATH set to /home/zovt/go, but when running checks it doesn't seem to be detecting that. I am also using fish, if that is any help. However, I'm manually importing the GOPATH environment variable with the exec-path-from-shell extension by @purcell.

Flymake version 0.4?

Maybe I'm missing something here, but the latest flymake version I can find is 0.3, yet this package requires 0.4. Is that correct?

error "Recursive `require' for feature `flymake-go'"

I used the installation instructions from the "Manually" section. After starting up, I get this error:

File mode specification error: (error "Recursive `require' for feature `flymake-go'")

It seems to me, this is the problem:

(eval-after-load "go-mode"
  '(require 'flymake-go))

Since the generated autoload file already requires flymake-go, this will then require it a second time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.