https://github.com/euskadi31/go-einfo
https://github.com/euskadi31/go-einfo
console-log einfo golang golang-library golang-package log
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/euskadi31/go-einfo
- Owner: euskadi31
- License: mit
- Created: 2016-03-02T00:55:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-24T22:39:48.000Z (4 months ago)
- Last Synced: 2025-02-24T23:29:13.191Z (4 months ago)
- Topics: console-log, einfo, golang, golang-library, golang-package, log
- Language: Go
- Size: 1.05 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Go einfo [](https://github.com/euskadi31/go-einfo/releases/latest) [](https://godoc.org/github.com/euskadi31/go-einfo)
[](https://goreportcard.com/report/github.com/euskadi31/go-einfo)
| Branch | Status | Coverage |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| master | [](https://github.com/euskadi31/go-einfo/actions/workflows/go.yml) | [](https://coveralls.io/github/euskadi31/go-einfo?branch=master) |```go
package mainimport einfo "github.com/euskadi31/go-einfo"
func main() {
einfo.Info("test info")
einfo.Warn("test warn")
einfo.Error("test error")einfo.Begin("Fetch data")
einfo.End(true, "Cannot fetch data")einfo.Begin("Fetch data")
einfo.End(false, "Cannot fetch data")
}
```