Validates your Go installation and dependencies.

Overview

govalidate

CircleCI

Validates your Go installation and dependencies.

  • Checks the Go installation and version.
  • Checks if the PATH is correctly configured.
  • Checks CGO dependencies are installed.
  • Checks the plugin support for available editors.
$ govalidate
[✔] Go (go1.13.5)
[✗] Checking if $PATH contains "/Users/jbd/go/bin"
    Add "/Users/jbd/go/bin" to your $PATH.
    On Unix systems:
    export PATH=$PATH:/Users/jbd/go/bin
[✔] Checking gcc for CGO support
[✔] Vim Go plugin
[!] VSCode Go extension
    VSCode Go extension is not installed.
    See https://code.visualstudio.com/docs/languages/go to install.

Installation

$ go get -u github.com/rakyll/govalidate

Or download one of the binaries and run:

Comments
  • Add help text

    Add help text

    The help text for govalidate currently is:

    $ govalidate --help
    Usage of govalidate:
      -ignore-cgo
    
      -ignore-editors
    

    Add a nicer and more comprehensive help text.

    opened by rakyll 2
  • vim-go not detected when using vim-plug

    vim-go not detected when using vim-plug

    ~It looks like vim-go is not detected if installed via https://github.com/junegunn/vim-plug~

    The path checked here: https://github.com/rakyll/govalidate/blob/95ca3ee38065f48f35977d7268e56a35b7a8985d/check/checkvim.go#L25 seems like it doesn't include the plugged directory.

    Edit: Completely unrelated to the plugin manager, actually about symlinks. Thanks for creating this tool (and your work on Go)!

    opened by heliostatic 2
  • Improve error messaging from the vim checker

    Improve error messaging from the vim checker

    Vim checker silently fails in numerous ways if an error occurs during the check. We don't surface any of these messages to the user. We should instead print the errors.

    opened by rakyll 0
  • VS Code go extension has new name, checkvscode fails

    VS Code go extension has new name, checkvscode fails

    With the extension name change from ms-vscode.Go to golang.Go, the VSCode Go extension check warns VSCode Go extension is not installed. when the extension is installed.

    Adjust check to look for this extension string name rather than the previous name.

    ref. The VS Code Go extension joins the Go project

    opened by ghchinoy 0
  • Running the program opens  Visual Studio Code in wsl2 on windows 10 with Ubuntu.

    Running the program opens Visual Studio Code in wsl2 on windows 10 with Ubuntu.

    I tried running the program on wsl2 on windows 10 with ubuntu. image

    The program opens an instance of Visual studio code instead. And does not detect that the extension is installed.

    On windows 10 with wsl2 enabled we can either install the vscode extensions either locally (windows 10) or remotely (ubuntu wsl2).

    I tried running the command that checks for the entensions. "code --list-entensions". On Windows Powershell it runs successfully and shows the extension that are installed locally. On Ubuntu WSL2 it opens the instance of vscode and shows that the option is invaid.

    opened by OneWithNoFace 1
  • VSCode Go extension with WSL environment.

    VSCode Go extension with WSL environment.

    I have VSCode Go extension installed inside WSL but the tool is not detecting it. Go version: 1.13.5 VSCode version: 1.4.1.1 VSCode Go Extension version: 0.12.0

    opened by TheMushrr00m 7
Fake server, Consumer Driven Contracts and help with testing performance from one configuration file with zero system dependencies and no coding whatsoever

mockingjay server Mockingjay lets you define the contract between a consumer and producer and with just a configuration file you get: A fast to launch

Chris James 530 Jan 6, 2023
pb: a tool for managing protoc builds and dependencies

pb pb is a Protocol Buffers Build tool that manages dependencies and build confi

Dan Enman 3 Nov 20, 2022
Send email and SMS broadcasts to your contacts. SMS are sent via your Android phone connected to your PC.

Polysender Send email and SMS broadcasts to your contacts. Polysender is a desktop application, so it does not require a complicated server setup. Ema

Charalampos Mitsakis 13 Aug 11, 2022
Simple application in Golang that retrieves your ip and updates your DNS entries automatically each time your IP changes.

DNS-Updater Simple application in Golang that retrieves your ip and updates your DNS entries automatically each time your IP changes. Motivation Havin

42_atomys 9 Mar 10, 2022
A minimal analytics package to start collecting traffic data without client dependencies.

go-web-analytics A minimal analytics package to start collecting traffic data without client dependencies. Logging incoming requests import "github.co

Jake Kalstad 0 Nov 23, 2021
Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies

Coral Preamble I love Cobra and I love Viper. They are great projects, incredibly useful and outstandingly important for the Go community. But sometim

Christian Muehlhaeuser 427 Dec 29, 2022
A server that proxies requests and uses fhttp & my fork of CycleTLS to modify your clienthello and prevent your requests from being fingerprinted.

TLS-Fingerprint-API A server that proxies requests and uses my fork of CycleTLS & fhttp (fork of net/http) to prevent your requests from being fingerp

null 176 Jan 7, 2023
A tool helps connect to your AriPods when sound playing in your Mac

Auto connect to airpods this tool helps connect to your AriPods when sound playing in your Mac. dependencenes SwitchAudioSource $ brew install switcha

Fndroid 2 Dec 9, 2021
x-crafter is used to quickly create templates from your prototype, also come with a builder to quickly regenerate your code

XCrafter ?? x-crafter is used to quickly create templates from your prototype, also come with a builder to quickly regenerate your code. Install Using

Chi-Tai Vong 3 Nov 29, 2021
Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com).

Go Modules Remote Import Path Proxy Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com). For example Uber (buil

Stefan Kürzeder 2 Nov 2, 2021
Traefik config validator: a CLI tool to (syntactically) validate your Traefik configuration filesTraefik config validator: a CLI tool to (syntactically) validate your Traefik configuration files

Traefik Config Validator Note This is currently pre-release software. traefik-config-validator is a CLI tool to (syntactically) validate your Traefik

Thomas Klinger 0 Dec 16, 2021
Peoplenect - Keep track of all your professional connections on your machine

Peoplenect Keep track of all your professional connections. TODO Create database

Martin Heberling 0 Jun 2, 2022
It is a proxy to improve article readability, a directory for your favorite articles, and a way to make the internet lighter and more accessible.

timoneiro It is a work in progress. Some features are unimplemented yet. The helmsman's goal is to be a way to browse articles without all the distrac

Cesar Gimenes 6 Jun 13, 2022
JPRQ Customizer is a customizer that helps to use the JPRQ server code and make it compatible with your own server with custom subdomain and domain

JPRQ Customizer is a customizer that helps to use the JPRQ server code and make it compatible with your own server with custom subdomain and domain.You can upload the generated directory to your web server and expose user localhost to public internet. You can use this to make your local machine a command center for your ethical hacking purpose ;)

Abir Ghosh 1 Jan 19, 2022
gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code

frenchy77 0 Jan 24, 2022
A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.

Realtime API Gateway Synchronize Your Clients Visit Resgate.io for guides, live demos, and resources. Resgate is a Go project implementing a realtime

Resgate.io - Synchronize Your Clients 609 Dec 31, 2022