fup: add SPDX headers

This commit is contained in:
Luke Granger-Brown 2021-03-20 20:40:40 +00:00
parent bcd39fae10
commit a261baedf4
17 changed files with 69 additions and 2 deletions

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package cmd package cmd
import ( import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package cmd package cmd
import ( import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package cmd package cmd
import ( import (

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com> # SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package main package main
import "hg.lukegb.com/lukegb/depot/web/fup/cmd" import "hg.lukegb.com/lukegb/depot/web/fup/cmd"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package fuphttp package fuphttp
import ( import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package fuphttp_test package fuphttp_test
import ( import (

View file

@ -0,0 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
*
* SPDX-License-Identifier: Apache-2.0
*/

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package fupstatic package fupstatic
import ( import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package fupstatic package fupstatic
import ( import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
package fupstatic package fupstatic
import ( import (

View file

@ -1 +1,3 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0

View file

@ -1,3 +1,9 @@
{{/*
SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
SPDX-License-Identifier: Apache-2.0
*/}}
{{define "main"}} {{define "main"}}
<h1>404 Not Found</h1> <h1>404 Not Found</h1>
<p>Sorry. :(</p> <p>Sorry. :(</p>

View file

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
SPDX-License-Identifier: Apache-2.0
-->
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
{{block "main" .}}{{end}} {{block "main" .}}{{end}}

View file

@ -1,3 +1,9 @@
{{/*
SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
SPDX-License-Identifier: Apache-2.0
*/}}
{{define "main"}} {{define "main"}}
<h1>Hello</h1> <h1>Hello</h1>
{{end}} {{end}}

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
//
// SPDX-License-Identifier: Apache-2.0
module hg.lukegb.com/lukegb/depot/web/fup module hg.lukegb.com/lukegb/depot/web/fup
go 1.16 go 1.16

2
web/fup/go.sum.license Normal file
View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
SPDX-License-Identifier: Apache-2.0