gomini

command module
v0.0.0-...-f779369 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Build Status

codecov

gomini

docker pull gcr.io/pigdevonlyx/gomini:test
docker run -p 3000:3000 -it --rm  gcr.io/pigdevonlyx/gomini:test
curl localhost:3000/data

minikube tunnel
# or minikube tunnel &> /dev/null &
k expose deployment gomini-pod --type=LoadBalancer --name=gomini-service
k expose deployment gomini-pv-pod --type=LoadBalancer --name=gomini-pv-service


# Dashboard
minikube dashboard

Build with vendor

export GO111MODULE=on
go mod init
# Below will put all packages in a vendor folder
go mod vendor



go test -v -mod=vendor ./...

# Don't forget the "." in "./cmd/script" below
go build -v -mod=vendor ./...

Don't forget golint

go get -u golang.org/x/lint/golint
golint -set_exit_status $(go list ./... | grep -v /vendor/)

Documentation

Overview

Copyright © 2020 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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