mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
parent
f74beebb2f
commit
6ea866c04b
6 changed files with 6 additions and 6 deletions
|
|
@ -168,7 +168,7 @@ type serverType struct {
|
|||
// For example, rpc.Register() calls server.add().
|
||||
var server = &serverType{serviceMap: make(map[string]*service)}
|
||||
|
||||
// Is this a publicly vislble - upper case - name?
|
||||
// Is this a publicly visible - upper case - name?
|
||||
func isPublic(name string) bool {
|
||||
rune, _ := utf8.DecodeRuneInString(name);
|
||||
return unicode.IsUpper(rune);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue