Categorygithub.com/newkedison/go-library
module
0.0.0-20180522021339-5a8239be4cb9
Repository: https://github.com/newkedison/go-library.git
Documentation: pkg.go.dev

# 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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author