Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: examples/go/echo_server.go

Issue 1105443002: go: update go build rules (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/go/echo_client.go ('k') | mojo/go/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/go/echo_server.go
diff --git a/examples/go/echo_server.go b/examples/go/echo_server.go
index 6d2732b89a126a5b4d8dfba52d1c2913c0aad8c0..6791a8331a777b51ddf7e6af52dba8b19b01677d 100644
--- a/examples/go/echo_server.go
+++ b/examples/go/echo_server.go
@@ -22,7 +22,7 @@ import "C"
type EchoImpl struct{}
func (echo *EchoImpl) EchoString(inValue *string) (outValue *string, err error) {
- log.Println(*inValue)
+ log.Printf("server: %s\n", *inValue)
return inValue, nil
}
« no previous file with comments | « examples/go/echo_client.go ('k') | mojo/go/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698