Skip to content

Commit 5aa3f7e

Browse files
committed
thanm: move some functions
Move some functions from main.go to first.go. Change-Id: If636ee6585039cceb0b44e6a825debb60433a07a Reviewed-on: https://go-review.googlesource.com/c/scratch/+/403682 Reviewed-by: Than McIntosh <[email protected]>
1 parent 54a22f3 commit 5aa3f7e

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

thanm/first.go

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Copyright 2022 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package main
6+
7+
func quote1() {
8+
println("Obfuscate the pancakes!")
9+
println()
10+
}
11+
12+
func quote2() {
13+
println("From the label of a secure disk: Nemo me impune accessit")
14+
println()
15+
}

thanm/main.go

-10
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44

55
package main
66

7-
func quote1() {
8-
println("Obfuscate the pancakes!")
9-
println()
10-
}
11-
12-
func quote2() {
13-
println("From the label of a secure disk: Nemo me impune accessit")
14-
println()
15-
}
16-
177
func quote3() {
188
println("MY SENSORS INDICATE TRACE AMOUNTS OF CHOCOLATE IN THE PANTRY. PLEASE LOAD")
199
println("SOME IN MY SCOOP FOR ANALYSIS.")

0 commit comments

Comments
 (0)