From a0dafbac9985049fa0b84ea751db34eed6140aa5 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 29 Jul 2022 10:41:21 +0200 Subject: [PATCH] Add copyright header to lruchache --- pkg/lrucache/README.md | 2 -- pkg/lrucache/cache.go | 4 ++++ pkg/lrucache/cache_test.go | 4 ++++ pkg/lrucache/handler.go | 4 ++++ pkg/lrucache/handler_test.go | 4 ++++ 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/pkg/lrucache/README.md b/pkg/lrucache/README.md index 8cd2751..a2b2f45 100644 --- a/pkg/lrucache/README.md +++ b/pkg/lrucache/README.md @@ -1,7 +1,5 @@ # In-Memory LRU Cache for Golang Applications -[![](https://pkg.go.dev/badge/github.com/iamlouk/lrucache?utm_source=godoc)](https://pkg.go.dev/github.com/iamlouk/lrucache) - This library can be embedded into your existing go applications and play the role *Memcached* or *Redis* might play for others. It is inspired by [PHP Symfony's Cache Components](https://symfony.com/doc/current/components/cache/adapters/array_cache_adapter.html), diff --git a/pkg/lrucache/cache.go b/pkg/lrucache/cache.go index aedfd5c..679bd2e 100644 --- a/pkg/lrucache/cache.go +++ b/pkg/lrucache/cache.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. +// All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package lrucache import ( diff --git a/pkg/lrucache/cache_test.go b/pkg/lrucache/cache_test.go index bfab653..7ba5504 100644 --- a/pkg/lrucache/cache_test.go +++ b/pkg/lrucache/cache_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. +// All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package lrucache import ( diff --git a/pkg/lrucache/handler.go b/pkg/lrucache/handler.go index e83ba10..db6687f 100644 --- a/pkg/lrucache/handler.go +++ b/pkg/lrucache/handler.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. +// All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package lrucache import ( diff --git a/pkg/lrucache/handler_test.go b/pkg/lrucache/handler_test.go index cb05f31..4013c63 100644 --- a/pkg/lrucache/handler_test.go +++ b/pkg/lrucache/handler_test.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. +// All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package lrucache import (