-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from dyweb/config/v1/deprecated
[config] Deprecated config (v1) package
- Loading branch information
Showing
27 changed files
with
103 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Roadmap | ||
|
||
## 0.0.8 | ||
|
||
- [x] test coverage for multiple packages | ||
- [ ] explain internals of some implementation | ||
- [ ] start documenting the style for writing gommon itself, lib using gommon, app using gommon/lib using gommon | ||
- [ ] improve Makefile and dockerized build & test | ||
|
||
## 0.0.9 | ||
|
||
- [ ] more complex error interface, error code | ||
- [ ] organized error types | ||
- [ ] extension for collecting errors using third party services | ||
- [ ] init go mod support, not sure if it will be compatible with dep | ||
|
||
## 0.0.10 | ||
|
||
- [ ] tree of loggers in use | ||
- [ ] benchmark against other loggers | ||
- [ ] support better logging for errors | ||
|
||
## 0.0.11 | ||
|
||
- [ ] httputil package, merge part of current requests package unix domain sock etc. | ||
- [ ] requests, download and upload file, a curl like example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Directory | ||
|
||
## Project Layout | ||
|
||
- [cmd/gommon](cmd/gommon) the command line application | ||
- [doc](doc) documentation | ||
- [errors](errors) error wrapping and multi error | ||
- [generator](generator) generating interface methods, render go template, protobuf etc. | ||
- [legacy](legacy) legacy code base | ||
- [noodle](noodle) embed static assets for go binary with .ignore file support | ||
- [playground](playground) test library and replay issues | ||
- [requests](requests) ~~http util~~ | ||
- [scripts](scripts) test scripts | ||
- [structure](structure) data structure | ||
- [util](util) small packages | ||
|
||
## Package Layout | ||
|
||
- README.md | ||
- doc | ||
- history.md verbose log about the evolve of the package, important decision made and the reason behind it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# Gommon Documentation | ||
|
||
- Style | ||
- [General](style.md) | ||
- [Application using Gommon](style-application.md) | ||
- [Library using Gommon](style-library.md) | ||
- [Writing Gommon](style-gommon.md) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Gommon Style | ||
|
||
Style for writing gommon itself, see [library](style-library.md) and [application](style-application.md) for using gommon. | ||
|
||
## Folder structure | ||
|
||
see [directory](../directory.md) | ||
|
||
- [ ] TODO: add how to structure file inside a package etc. | ||
|
||
## Documentation | ||
|
||
MUST cover the following | ||
|
||
- [ ] convention, i.e. variable names, error handling etc. | ||
- [ ] internal, a basic walk through of import parts | ||
- define canonical import path in `pkg.go` https://golang.org/doc/go1.4#canonicalimports | ||
- [ ] survey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,4 @@ | ||
# Coding Style | ||
|
||
Style for writing gommon itself, see [library](style-library.md) and [application](style-application.md) for using gommon. | ||
|
||
## Folder structure | ||
|
||
see [directory](directory.md) | ||
|
||
- [ ] TODO: add how to structure file inside a package etc. | ||
|
||
## Documentation | ||
|
||
MUST cover the following | ||
|
||
- [ ] convention, i.e. variable names, error handling etc. | ||
- [ ] internal, a basic walk through of import parts | ||
- define canonical import path in `pkg.go` https://golang.org/doc/go1.4#canonicalimports | ||
- [ ] survey | ||
|
||
General coding style | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Package cast convert types safely and drop incompatible types during conversion | ||
// | ||
// it is inspired by https://github.com/spf13/cast | ||
package cast // import "github.com/dyweb/gommon/cast" | ||
package cast // import "github.com/dyweb/gommon/util/cast" |