Skip to content

Commit 6e3760a

Browse files
authored
Merge pull request 996icu#25169 from panjf2000/master
Use go module to manage dependencies
2 parents c248e31 + 6be31e7 commit 6e3760a

File tree

3 files changed

+26
-18
lines changed

3 files changed

+26
-18
lines changed

archived/licenses[WIP]/tools/gen-license-go/LICENSE

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
Copyright © 2019 <copyright holders>
22
The 996ICU License (996ICU)
33

4-
996ICU License 是一个关于 mit 的扩展协议.
5-
此协议扩展了 mit, mit 将在本协议文本末尾声明.
4+
996ICU License is an extented license for mit.
5+
This license extended mit, and mit will be declared at the foot of this license.
66

7-
要求得到授权的个人履行以下义务:
7+
Individual who seeks authorization must fulfill the following obligations:
88

9-
1. 将此授权文件包含在其任何副本以及软件的重要部分中.
9+
1. Including this authorization file in any of its copies and important parts of the software.
1010

11-
要求得到授权的组织履行以下义务:
11+
Organization that seeks authorization must fulfill the following obligations:
1212

13-
1. 将此授权文件包含在其任何副本以及软件的重要部分中.
14-
2. 不以任何形式或手段强迫其雇佣员工或临时劳动者进行超过当地法定最长劳动时间的劳动,
15-
包括但不限于: 命令, 威胁, 暗示等.
16-
3. 不以任何形式报复不参与超过法定最长劳动时间的劳动的雇佣员工或临时劳动者,
17-
包括但不限于: 辱骂等精神攻击, 殴打等人身伤害以及非法开除等.
18-
4. 组织其雇佣员工或临时劳动者进行超时劳动时,按不低于当地法规标准支付经济补偿.
19-
5. 此组织不在协议规定的黑名单中.
13+
1. Including this authorization file in any of its copies and important parts of the software.
14+
2. Not forcing any employee or temporary worker to work in excess of the legal maximum working time in any form or by any means, including but not limited to: orders, threats, implications, etc.
15+
3. Not retaliating against any employee or temporary worker without participating in labor in excess of the legal maximum working time in any form or by any means, including but not limited to: mental assaults, personal injuries, illegal deductions of due remuneration, illegal dismissals, etc.
16+
4. Paying economic compensation at no lower than the standards stipulated by local laws and regulations, when organizing employees or temporary workers to work overtime.
17+
5. This organization is not in the blacklist[^1] as stipulated in the agreement.
2018

21-
如果获得授权的个人或组织未能履行以上义务任意一条, 则授权将被收回.
19+
If the authorized individual or organization fails to fulfill any of the above obligations, the authorization will be withdrawn.
2220

23-
此协议未定义的行为, 按 mit 协议处理.
24-
mit 与本协议冲突的部分, 按本协议处理.
21+
The undefined behavior of this license is handled by mit. The part of mit that conflicts with this agreement is handled in accordance with this agreement.
2522

26-
https://github.com/996icu/996.ICU/pull/15642
27-
996 from https://feathub.com/LinXueyuanStdio/996.ICU
28-
黑名单: https://github.com/996icu/996.ICU/blob/master/blacklist/blacklist.md
23+
24+
* Discussion https://github.com/996icu/996.ICU/pull/15642
25+
* 996 from https://feathub.com/LinXueyuanStdio/996.ICU
26+
* [^1]: blacklist https://github.com/996icu/996.ICU/blob/master/blacklist/blacklist.md
2927

3028
mit
3129
--------------------------------------------------------------------------------
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module github.com/panjf2000/gen-license-go
2+
3+
require (
4+
github.com/spf13/cobra v0.0.3
5+
github.com/spf13/pflag v1.0.3 // indirect
6+
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=
2+
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
3+
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
4+
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=

0 commit comments

Comments
 (0)