Skip to content

Commit

Permalink
Added MIT licence and travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
jahnestacado committed May 23, 2020
1 parent a3c1e93 commit 0830315
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: go

go:
- 1.13.x

# Only clone the most recent commit.
git:
depth: 1

install:
- go get .

script:
- go test -race -v -coverprofile=coverage.txt -covermode=atomic
# after_success:
# - bash <(curl -s https://codecov.io/bash)
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) Ioannis Tzanellis <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<p align="center">
<p align="center">
<a href="https://travis-ci.org/jahnestacado/go-tlru"><img alt="build"
src="https://travis-ci.org/jahnestacado/go-tlru.svg?branch=master"></a>
<a href="https://github.com/jahnestacado/go-tlru/blob/master/LICENSE"><img alt="Software License" src="https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square"></a>
<a href="https://goreportcard.com/report/github.com/jahnestacado/go-tlru"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/jahnestacado/go-tlru?style=flat-square&fuckgithubcache=1"></a>
<a href="https://godoc.org/github.com/jahnestacado/go-tlru">
<img alt="Docs" src="https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square">
</a>
<a href="https://codecov.io/gh/jahnestacado/go-tlru">
<img src="https://codecov.io/gh/jahnestacado/go-tlru/branch/master/graph/badge.svg" />
</a>
<img src="https://github.com/jahnestacado/go-tlru/blob/master/resources/cable-img.webp?raw=true" /img>
</p>
</p>

# TLRU

## License

Copyright (c) 2020 Ioannis Tzanellis<br>
[Released under the MIT license](https://github.com/jahnestacado/go-tlru/blob/master/LICENSE)
3 changes: 3 additions & 0 deletions tlru.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// * cable <https://github.com/jahnestacado/go-tlru>
// * Copyright (c) 2020 Ioannis Tzanellis
// * Licensed under the MIT License (MIT).
package tlru

import (
Expand Down
3 changes: 3 additions & 0 deletions tlru_benchmark_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// * cable <https://github.com/jahnestacado/go-tlru>
// * Copyright (c) 2020 Ioannis Tzanellis
// * Licensed under the MIT License (MIT).
package tlru

import (
Expand Down
3 changes: 3 additions & 0 deletions tlru_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// * cable <https://github.com/jahnestacado/go-tlru>
// * Copyright (c) 2020 Ioannis Tzanellis
// * Licensed under the MIT License (MIT).
package tlru

import (
Expand Down
3 changes: 3 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// * cable <https://github.com/jahnestacado/go-tlru>
// * Copyright (c) 2020 Ioannis Tzanellis
// * Licensed under the MIT License (MIT).
package tlru

import "time"
Expand Down

0 comments on commit 0830315

Please sign in to comment.