https://github.com/gomicro/penname
A mocked writer for those times when you don't want a real one
https://github.com/gomicro/penname
golang io mock tdd testing testing-library
Last synced: 4 months ago
JSON representation
A mocked writer for those times when you don't want a real one
- Host: GitHub
- URL: https://github.com/gomicro/penname
- Owner: gomicro
- License: mit
- Created: 2016-01-28T23:32:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T03:32:28.000Z (almost 5 years ago)
- Last Synced: 2025-08-14T09:38:44.775Z (10 months ago)
- Topics: golang, io, mock, tdd, testing, testing-library
- Language: Go
- Size: 1.16 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Pen Name
[](https://travis-ci.org/gomicro/penname)
[](https://goreportcard.com/report/github.com/gomicro/penname)
[](https://godoc.org/github.com/gomicro/penname)
[](https://github.com/gomicro/penname/blob/master/LICENSE.md)
[](https://github.com/gomicro/penname/releases/latest)
A mock that implements the Closer & Writer interfaces for testing.
# Requirements
Golang version 1.6 or higher
# Installation
```
go get github.com/gomicro/penname
```
# Usage
See the [examples](https://godoc.org/github.com/gomicro/penname#pkg-examples) within the docs for ways to use the library.
# Versioning
The library will be versioned in accordance with [Semver 2.0.0](http://semver.org). See the [releases](https://github.com/gomicro/penname/releases) section for the latest version. Until version 1.0.0 the libary is considered to be unstable.
It is always highly recommended to vendor the version you are using.
# License
See [LICENSE.md](./LICENSE.md) for more information.