gofmt -l -w -tabs=false -tabwidth=2 *
This commit is contained in:
@@ -3,7 +3,7 @@ package go_koans
|
|||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
func aboutStrings() {
|
func aboutStrings() {
|
||||||
assert("a" + __string__ == "abc") // string concatenation need not be difficult
|
assert("a"+__string__ == "abc") // string concatenation need not be difficult
|
||||||
assert(len("abc") == __int__) // and bounds are thoroughly checked
|
assert(len("abc") == __int__) // and bounds are thoroughly checked
|
||||||
|
|
||||||
assert("abc"[0] == __byte__) // their contents are reminiscent of C
|
assert("abc"[0] == __byte__) // their contents are reminiscent of C
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package go_koans
|
package go_koans
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
|
||||||
"os"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"runtime"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
var __string__ string = "impossibly lame value"
|
var __string__ string = "impossibly lame value"
|
||||||
|
|||||||
Reference in New Issue
Block a user