Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kujtimiihoxha committed Apr 10, 2017
1 parent 57454d6 commit c520590
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ The example you see here https://github.com/go-kit/kit/issues/70
- Implement the update commands, this commands would be used to update an existing service e.x add
a new request parameter to an endpoint.
- Implement middleware generator (service,endpoint).
- Implement generator for adding new transports to a service.
- Implement automatic creation of the service main file.
- Tests tests tests ...
## Warnings
Expand Down
10 changes: 5 additions & 5 deletions parser/parse_test.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
package parser

import (
"testing"
"golang.org/x/tools/imports"
"fmt"
"golang.org/x/tools/imports"
"testing"
)

func TestName(t *testing.T) {
s,err :=imports.Process("test",[]byte(`
s, err := imports.Process("test", []byte(`
package main
func main(){
s:= generator.ServiceGenerator{}
fmt.Println(s)
}
`),nil)
fmt.Println(string(s),err)
`), nil)
fmt.Println(string(s), err)

}

0 comments on commit c520590

Please sign in to comment.