Skip to content

Commit 7e324f2

Browse files
author
Sridhar Ratnakumar
committed
golor: readme, copyright and license
1 parent 514076f commit 7e324f2

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed

LICENSE.txt

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This is the MIT license
2+
3+
# Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a
6+
copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included
14+
in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23+

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# golor
2+
3+
golor is a terminal colors package for Go. It supports both 16-colors
4+
mode and 256 colors mode. See `tools/demo.go` for an example.
5+

golor.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// 256 color terminal printing in Go.
22
package golor
33

4+
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
5+
46
import (
57
"crypto/sha1"
68
"os"

legacy.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
2+
13
package golor
24

35
import (

tools/demo.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
2+
13
package main
24

35
import (

xterm256.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
2+
13
package golor
24

35
import (

0 commit comments

Comments
 (0)