go-library

module
v0.0.0-...-5a8239b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2018 License: BSD-3-Clause

README

Library for golang (by newk)

This repo is a collection of my golang packages

Install

go get -u github.com/newkedison/go-library

For developer
  • Use dep as dependency management tool

    • Installation

      see https://golang.github.io/dep/docs/installation.html

    • Usage

      dep init : Initialize the project

      dep ensure : Check all go file and add/remove package in vendor folder

      dep ensure -add package1 [package2] ...: Manual add package, note that if you want to add more than one package, you must use one command to add them, use multiple commands will only keep last package, see the docs for the reason

  • Use goconvey for test

    • Installation and Usage

      $ go get github.com/smartystreets/goconvey

      $ $GOPATH/bin/goconvey

      Then open your browser to localhost:8080. Tests will be run from the working directory on down.

    • If you prefer go test , run as below in the root folder:

      go test ./...

License

BSD 3-Clause License

Directories

Path Synopsis
crc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL