Fundamentals
package kata import ( "fmt" ) func main() { fmt.Println("Hello Golang") }
package main- package kata
- import (
- "fmt"
- )
- func main() {
- fmt.Println("Hello Golang")
- }
// TODO: replace with your own tests (TDD). An example to get you started is included below. // Ginkgo BDD Testing Framework <http://onsi.github.io/ginkgo/> // Gomega Matcher Library <http://onsi.github.io/gomega/> package kata_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "codewarrior/kata" ) var _ = Describe("Test Example", func() { // It("should test that the solution returns the correct value", func() { // Expect(Solution(1)).To(Equal(2)) // }) })
- // TODO: replace with your own tests (TDD). An example to get you started is included below.
- // Ginkgo BDD Testing Framework <http://onsi.github.io/ginkgo/>
- // Gomega Matcher Library <http://onsi.github.io/gomega/>
- package kata_test
- import (
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
- . "codewarrior/kata"
- )
- var _ = Describe("Test Example", func() {
- // It("should test that the solution returns the correct value", func() {
- // Expect(Solution(1)).To(Equal(2))
- // })
- })