Skip to content

Commit a3bfdab

Browse files
committed
thanm: move some more functions
Move other functions from main.go to second.go. Change-Id: I5fd7f4e5aa8b5b05479b45c100ff7b04e5e7e9fb Reviewed-on: https://go-review.googlesource.com/c/scratch/+/403683 Reviewed-by: Than McIntosh <[email protected]>
1 parent 5aa3f7e commit a3bfdab

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

thanm/main.go

-13
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@
44

55
package main
66

7-
func quote3() {
8-
println("MY SENSORS INDICATE TRACE AMOUNTS OF CHOCOLATE IN THE PANTRY. PLEASE LOAD")
9-
println("SOME IN MY SCOOP FOR ANALYSIS.")
10-
println("No, you'll spoil your appetite.")
11-
println("MY MISSION MUST NOT FAIL. PREPARE FOR ANNIHILATION, PITIFUL EARTH FEMALE.")
12-
println()
13-
}
14-
15-
func quote4() {
16-
println("Never send a bunny to do a duck's job.")
17-
println()
18-
}
19-
207
func main() {
218
quote1()
229
quote2()

thanm/second.go

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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 quote3() {
8+
println("MY SENSORS INDICATE TRACE AMOUNTS OF CHOCOLATE IN THE PANTRY. PLEASE LOAD")
9+
println("SOME IN MY SCOOP FOR ANALYSIS.")
10+
println("No, you'll spoil your appetite.")
11+
println("MY MISSION MUST NOT FAIL. PREPARE FOR ANNIHILATION, PITIFUL EARTH FEMALE.")
12+
println()
13+
}
14+
15+
func quote4() {
16+
println("Never send a bunny to do a duck's job.")
17+
println()
18+
}

0 commit comments

Comments
 (0)