From 0066ca3a29327b57fbe27de928896a5a65d33ce2 Mon Sep 17 00:00:00 2001 From: at15 Date: Tue, 7 Aug 2018 19:50:37 -0700 Subject: [PATCH] [version] Release 0.0.7 - move cast package to util/cast - deprecated config package, move to legacy/config --- CHANGELOG.md | 3 ++- Makefile | 2 +- README.md | 4 +--- ROADMAP.md | 5 ----- directory.md | 1 - legacy/config/pkg.go | 2 +- 6 files changed, 5 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c76905..7eaa4d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ # Changelog - ## v0.0.7 [release](https://github.com/dyweb/gommon/releases/tag/0.0.7) +- deprecated config v1, move it to legacy folder +- move cast into util ## v0.0.6 diff --git a/Makefile b/Makefile index d0e4994..810bc5c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PKGS=./errors/... ./generator/... ./log/... ./noodle/... ./requests/... ./structure/... ./util/... PKGST=./cmd ./errors ./generator ./log ./noodle ./requests ./structure ./util -VERSION = 0.0.1 +VERSION = 0.0.7 BUILD_COMMIT = $(shell git rev-parse HEAD) BUILD_TIME = $(shell date +%Y-%m-%dT%H:%M:%S%z) CURRENT_USER = $(USER) diff --git a/README.md b/README.md index 511efbd..a2e2981 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ Gommon is a collection of common util libraries written in Go. It has the following components: -- [config](config) A YAML config reader with template support - [errors](errors) Typed error with context, multi error - [generator](generator) Render go template, generate methods for logger interface based on `gommon.yml` - [log](log) A Javaish logger for Go, application can set level for their dependencies based on package, struct @@ -24,6 +23,7 @@ It has the following components: Legacy +- [config v1](config) A YAML config reader with template support - [log v1](legacy/log) A logrus like structured logger - [Runner](legacy/runner) A os/exec wrapper @@ -49,8 +49,6 @@ Removed - `dep ensure` - `make test` - - ## License MIT diff --git a/ROADMAP.md b/ROADMAP.md index 7017cfc..0d0981f 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,10 +1,5 @@ # Roadmap -## 0.0.7 - -- [ ] simplify config package, no more template and get value by string path -- [ ] move cast into util - ## 0.0.8 - [x] test coverage for multiple packages diff --git a/directory.md b/directory.md index fed64e4..72f9eaa 100644 --- a/directory.md +++ b/directory.md @@ -3,7 +3,6 @@ ## Project Layout - [cmd/gommon](cmd/gommon) the command line application -- [config](config) config file reader - [doc](doc) documentation - [errors](errors) error wrapping and multi error - [generator](generator) generating interface methods, render go template, protobuf etc. diff --git a/legacy/config/pkg.go b/legacy/config/pkg.go index c437621..8c131db 100644 --- a/legacy/config/pkg.go +++ b/legacy/config/pkg.go @@ -1,5 +1,5 @@ // Package config supports go text/template, environment and self defined variables -package config // import "github.com/dyweb/gommon/config" +package config import ( "github.com/dyweb/gommon/util/logutil"