Skip to content

Commit 0b18bb3

Browse files
authored
Add files via upload
1 parent 7538a3b commit 0b18bb3

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed

gochat.zip

14.9 MB
Binary file not shown.

ritu

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
2+
# github.com/gautamrege/gochat
3+
./handle.go:54:10: syntax error: unexpected :=, expecting expression
4+
./handle.go:57:2: syntax error: unexpected }, expecting expression
5+
./handle.go:60:2: syntax error: unexpected return, expecting expression
6+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
7+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
8+
# github.com/gautamrege/gochat
9+
./handle.go:56:18: v.name undefined (type api.Handle has no field or method name, but does have Name)
10+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
11+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
12+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
13+
# github.com/gautamrege/gochat
14+
./main.go:93:30: cannot use cmd[1] (type byte) as type string in argument to USERS.Get
15+
./server.go:20:22: req.From.name undefined (type *api.Handle has no field or method name, but does have Name)
16+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
17+
# github.com/gautamrege/gochat
18+
./main.go:93:30: cannot use cmd[1] (type byte) as type string in argument to USERS.Get
19+
./server.go:20:21: invalid indirect of req.From.Name (type string)
20+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
21+
# github.com/gautamrege/gochat
22+
./main.go:93:33: cmd[1].string undefined (type byte has no field or method string)
23+
./server.go:20:21: invalid indirect of req.From.Name (type string)
24+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ go build
25+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ ./gochat -name ritu -host 192.168.1.150 -port 23458
26+
> ^C
27+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ clr
28+
No command 'clr' found, did you mean:
29+
Command 'car' from package 'ucommon-utils' (universe)
30+
Command 'csr' from package 'rheolef' (universe)
31+
Command 'cl' from package 'cl-launch' (universe)
32+
Command 'clp' from package 'coinor-clp' (universe)
33+
Command 'mlr' from package 'miller' (universe)
34+
Command 'clm' from package 'mcl' (universe)
35+
Command 'cyr' from package 'console-cyrillic' (universe)
36+
Command 'cli' from package 'mono-runtime' (main)
37+
clr: command not found
38+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ clear
39+
40+
krishna@krishna-lenovo-v110-15isk ~/work/src/github.com/gautamrege/gochat (master) $ ./gochat -name ritu -host 192.168.1.150 -port 23458
41+
> /users
42+
ashleshaArchitabhavin192Kasturishailesh
43+
> @shailesh hello
44+
>
45+
@pranoti says: "hello "
46+
>
47+
@pallavi says: "hello"
48+
>
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+

0 commit comments

Comments
 (0)