首页 > 其他分享 >使用go自定义生成项目LISENSE(授权协议)

使用go自定义生成项目LISENSE(授权协议)

时间:2023-01-14 05:55:05浏览次数:59  
标签:https 自定义 license location LISENSE go 授权 com

需要使用一个使用go开发的工具,叫license,在Windows下安装这个工具,请确保你使用的go sdk是1.16以上的版本,然后执行下面的命令:

go install github.com/nishanths/license/v5@latest

 

接着,转到要生成授权协议的项目所在的根目录,在项目的根目录下执行以下命令:

license -name "fastbpmn" -year 2023 -project "go-study" -o LICENSE bsd-4-clause

当然,你也可以选择其他类型的授权协议,查看授权协议类型列表,执行:license -l

 

参考资料:

https://github.com/nishanths/license

TRANSLATE with x English
Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian  
  TRANSLATE with COPY THE URL BELOW Back EMBED THE SNIPPET BELOW IN YOUR SITE Enable collaborative features and customize widget: Bing Webmaster Portal Back

标签:https,自定义,license,location,LISENSE,go,授权,com
From: https://www.cnblogs.com/jamstack/p/17051124.html

相关文章