Skip to content

Commit 47832e5

Browse files
committed
Gofmt all source files.
1 parent 029e58e commit 47832e5

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

glog.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Go support for leveled logs, analogous to https://code.google.com/p/google-glog/
22
//
33
// Copyright 2013 Google Inc. All Rights Reserved.
4-
//
4+
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.
77
// You may obtain a copy of the License at
8-
//
8+
//
99
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
10+
//
1111
// Unless required by applicable law or agreed to in writing, software
1212
// distributed under the License is distributed on an "AS IS" BASIS,
1313
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

glog_file.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Go support for leveled logs, analogous to https://code.google.com/p/google-glog/
22
//
33
// Copyright 2013 Google Inc. All Rights Reserved.
4-
//
4+
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.
77
// You may obtain a copy of the License at
8-
//
8+
//
99
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
10+
//
1111
// Unless required by applicable law or agreed to in writing, software
1212
// distributed under the License is distributed on an "AS IS" BASIS,
1313
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

glog_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Go support for leveled logs, analogous to https://code.google.com/p/google-glog/
22
//
33
// Copyright 2013 Google Inc. All Rights Reserved.
4-
//
4+
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.
77
// You may obtain a copy of the License at
8-
//
8+
//
99
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
10+
//
1111
// Unless required by applicable law or agreed to in writing, software
1212
// distributed under the License is distributed on an "AS IS" BASIS,
1313
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -28,9 +28,9 @@ import (
2828
// Test that shortHostname works as advertised.
2929
func TestShortHostname(t *testing.T) {
3030
for hostname, expect := range map[string]string{
31-
"": "",
32-
"host": "host",
33-
"host.google.com": "host",
31+
"": "",
32+
"host": "host",
33+
"host.google.com": "host",
3434
} {
3535
if got := shortHostname(hostname); expect != got {
3636
t.Errorf("shortHostname(%q): expected %q, got %q", hostname, expect, got)
@@ -215,7 +215,7 @@ var vGlobs = map[string]bool{
215215
"glog_test=2": true,
216216
"glog_test=3": true, // If -vmodule sets V to 1, V(3) will succeed.
217217
// These all use 2 and check the patterns. All are true.
218-
"*=2": true,
218+
"*=2": true,
219219
"?l*=2": true,
220220
"????_*=2": true,
221221
"??[mno]?_*t=2": true,
@@ -331,4 +331,4 @@ func BenchmarkHeader(b *testing.B) {
331331
for i := 0; i < b.N; i++ {
332332
logging.putBuffer(logging.header(infoLog))
333333
}
334-
}
334+
}

0 commit comments

Comments
 (0)