Unlicens the code and add SPDX identifier to files
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
{{/* SPDX-License-Identifier: Unlicense */ -}}
|
||||
|
||||
{{define "fparams" -}}
|
||||
{{with $max := .}}{{range .Count}} f{{.}} func(T{{.}}) Parser[In, {{if eq . $max}}Out{{else}}T{{.Next}}{{end}}],
|
||||
{{end}}{{end}}{{end -}}
|
||||
@ -31,6 +33,8 @@ func Bind{{.}}[In, Out{{range .Count}}, T{{.}}{{end}} any](
|
||||
|
||||
// GENERATED FILE. DO NOT EDIT.
|
||||
|
||||
// SPDX-License-Identifier: Unlicense
|
||||
|
||||
package {{.Package}}
|
||||
{{range .Count}}
|
||||
{{template "func" .}}
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Unlicense
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
@ -1,3 +1,5 @@
|
||||
{{/* SPDX-License-Identifier: Unlicense */ -}}
|
||||
|
||||
{{define "func"}}{{if gt . 1 -}}
|
||||
func Seq{{.}}[In, Out{{range .Count}}, T{{.}}{{end}} any](
|
||||
{{- range .Count}}
|
||||
@ -28,6 +30,8 @@ func Seq{{.}}[In, Out{{range .Count}}, T{{.}}{{end}} any](
|
||||
|
||||
// GENERATED FILE. DO NOT EDIT.
|
||||
|
||||
// SPDX-License-Identifier: Unlicense
|
||||
|
||||
package {{.Package}}
|
||||
{{range .Count}}{{template "func" .}}
|
||||
|
||||
|
Reference in New Issue
Block a user