mirror of
https://github.com/burrowers/garble.git
synced 2025-09-26 20:01:16 +08:00

Many files were missing copyright, so also add a short script to add the missing lines with the current year, and run it. The AUTHORS file is also self-explanatory. Contributors can add themselves there, or we can simply update it from time to time via git-shortlog. Since we have two scripts now, set up a directory for them.
16 lines
255 B
Go
16 lines
255 B
Go
// Copyright (c) 2020, The Garble Authors.
|
|
// See LICENSE for licensing information.
|
|
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
var globalVar = "global value"
|
|
|
|
func globalFunc() { fmt.Println("global func body") }
|
|
|
|
func main() {
|
|
fmt.Println(globalVar)
|
|
globalFunc()
|
|
}
|