Documentation ¶
Overview ¶
###Copyright (c) 2016 Ivan A Kostko (github.com/ivan-kostko)
The repository contains common and generic Golang packages, libraries and frameworks. The repository is an acceptor of some code from github.com/ivan-kostko/go-sandbox. For historical changes, please refer to corresponding link provided in commit comment.
Directories ¶
Path | Synopsis |
---|---|
Install go get "github.com/ivan-kostko/GoLibs/CodeGenerator" // To define any other location or/and template file extention for templates - use build flags like the following: go get -ldflags "-X main.templatesMainFolder=YourCustomTemplateLocation -X main.templatesSubFolder=" "github.com/ivan-kostko/GoLibs/CodeGenerator" Description The project CodeGenerator represents //go:generate tool to generate _.go files from templates It uses standard text/template notation.
|
Install go get "github.com/ivan-kostko/GoLibs/CodeGenerator" // To define any other location or/and template file extention for templates - use build flags like the following: go get -ldflags "-X main.templatesMainFolder=YourCustomTemplateLocation -X main.templatesSubFolder=" "github.com/ivan-kostko/GoLibs/CodeGenerator" Description The project CodeGenerator represents //go:generate tool to generate _.go files from templates It uses standard text/template notation. |
Import "github.com/ivan-kostko/GoLibs/Common" Install go get github.com/ivan-kostko/GoLibs/Common Description The package contains common interfaces and types widly used in other packages
|
Import "github.com/ivan-kostko/GoLibs/Common" Install go get github.com/ivan-kostko/GoLibs/Common Description The package contains common interfaces and types widly used in other packages |
Interfaces
Import "github.com/ivan-kostko/GoLibs/Common/Interfaces" Install go get github.com/ivan-kostko/GoLibs/Common/Interfaces
|
Import "github.com/ivan-kostko/GoLibs/Common/Interfaces" Install go get github.com/ivan-kostko/GoLibs/Common/Interfaces |
Types
Types document
|
Types document |
Import "github.com/ivan-kostko/GoLibs/CustomErrors" Install go get github.com/ivan-kostko/GoLibs/CustomErrors The package implements extended error functionality, allowing slightly better error handling than golang standart one.
|
Import "github.com/ivan-kostko/GoLibs/CustomErrors" Install go get github.com/ivan-kostko/GoLibs/CustomErrors The package implements extended error functionality, allowing slightly better error handling than golang standart one. |
Description Package Logger provides a common interface and wrapper implementation for logging libraries.
|
Description Package Logger provides a common interface and wrapper implementation for logging libraries. |
Install go get "github.com/ivan-kostko/GoLibs/Parser" Import "github.com/ivan-kostko/GoLibs/Parser" Description The package provides interface to internal factory of predefined parser wrappers.
|
Install go get "github.com/ivan-kostko/GoLibs/Parser" Import "github.com/ivan-kostko/GoLibs/Parser" Description The package provides interface to internal factory of predefined parser wrappers. |
ALL
Install go get "github.com/ivan-kostko/GoLibs/Parser/ALL" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/ALL" Description The Parser/ALL package represents assembly of wrappers for ALL parsing library(es).
|
Install go get "github.com/ivan-kostko/GoLibs/Parser/ALL" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/ALL" Description The Parser/ALL package represents assembly of wrappers for ALL parsing library(es). |
JSON
Install go get "github.com/ivan-kostko/GoLibs/Parser/JSON" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/JSON" Description The Parser/JSON package represents assembly of wrappers for JSON parsing library(es).
|
Install go get "github.com/ivan-kostko/GoLibs/Parser/JSON" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/JSON" Description The Parser/JSON package represents assembly of wrappers for JSON parsing library(es). |
JSON/Default
Install go get "github.com/ivan-kostko/GoLibs/Parser/JSON/Default" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/JSON/Default" Description The Parser/JSON/Default package represents wrapper for encoding/json Go standard package.
|
Install go get "github.com/ivan-kostko/GoLibs/Parser/JSON/Default" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/JSON/Default" Description The Parser/JSON/Default package represents wrapper for encoding/json Go standard package. |
XML
Install go get "github.com/ivan-kostko/GoLibs/Parser/XML" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/XML" Description The Parser/XML package represents assembly of wrappers for XML parsing library(es).
|
Install go get "github.com/ivan-kostko/GoLibs/Parser/XML" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/XML" Description The Parser/XML package represents assembly of wrappers for XML parsing library(es). |
XML/Default
Install go get "github.com/ivan-kostko/GoLibs/Parser/XML/Default" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/XML/Default" Description The Parser/XML/Default package represents wrapper for encoding/xml Go standard package.
|
Install go get "github.com/ivan-kostko/GoLibs/Parser/XML/Default" Import "github.com/ivan-kostko/GoLibs/Parser" _ "github.com/ivan-kostko/GoLibs/Parser/XML/Default" Description The Parser/XML/Default package represents wrapper for encoding/xml Go standard package. |
Repository project Repository.go Install go get "github.com/ivan-kostko/GoLibs/Repository" Import "github.com/ivan-kostko/GoLibs/Repository" Description The package provides generic interface to communicate beween business and persistence domains.
|
Repository project Repository.go Install go get "github.com/ivan-kostko/GoLibs/Repository" Import "github.com/ivan-kostko/GoLibs/Repository" Description The package provides generic interface to communicate beween business and persistence domains. |
DataSource
DataSource project DataSource.go Install go get "github.com/ivan-kostko/GoLibs/Repository/DataSource" Import "github.com/ivan-kostko/GoLibs/Repository/DataSource" Description The package provides generic interface to access persistence.
|
DataSource project DataSource.go Install go get "github.com/ivan-kostko/GoLibs/Repository/DataSource" Import "github.com/ivan-kostko/GoLibs/Repository/DataSource" Description The package provides generic interface to access persistence. |
DataSource/Implementations
Install go get "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations" Import "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations" Description The package represents container for concreet DataSource implementations
|
Install go get "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations" Import "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations" Description The package represents container for concreet DataSource implementations |
DataSource/Implementations/HttpService
Install go get "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations/HttpService" Import "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations" _ "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations/HttpService" Description The package represents generic Http service data source
|
Install go get "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations/HttpService" Import "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations" _ "github.com/ivan-kostko/GoLibs/Repository/DataSource/Implementations/HttpService" Description The package represents generic Http service data source |
Import "github.com/ivan-kostko/GoLibs/ThreadSafe" Install go get github.com/ivan-kostko/GoLibs/ThreadSafe Description The package contains thread safe types and extentions
|
Import "github.com/ivan-kostko/GoLibs/ThreadSafe" Install go get github.com/ivan-kostko/GoLibs/ThreadSafe Description The package contains thread safe types and extentions |
Map
Import "github.com/ivan-kostko/ThreadSafe/Map" Install go get github.com/ivan-kostko/ThreadSafe/Map Description The ThreadSafeMap package represents light weight and simple API for thread safe map.
|
Import "github.com/ivan-kostko/ThreadSafe/Map" Install go get github.com/ivan-kostko/ThreadSafe/Map Description The ThreadSafeMap package represents light weight and simple API for thread safe map. |
Description The package represents very simple and lightweight workers pool.
|
Description The package represents very simple and lightweight workers pool. |
Click to show internal directories.
Click to hide internal directories.