https://github.com/gedex/go-imgplaceholder
https://github.com/gedex/go-imgplaceholder
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/gedex/go-imgplaceholder
- Owner: gedex
- License: bsd-2-clause
- Created: 2013-08-01T21:45:15.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-05T10:02:27.000Z (almost 13 years ago)
- Last Synced: 2025-04-09T14:25:56.571Z (over 1 year ago)
- Language: Go
- Size: 445 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
go-imgplaceholder
=================
## Install
~~~text
$ go install github.com/gedex/go-imgplaceholder
~~~
## Usage
1. Start the server:
~~~text
$ go-imgplaceholder
~~~
2. Request imgplaceholder in form of `/{width}x{height}/{bg}/{fg}`, for instance:
* `http://localhost:8080/250`

* `http://localhost:8080/250x120/ff0000/222`

## License
This library is distributed under the BSD-style license found in the LICENSE.md file.