mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
delete export
TBR=r OCL=23121 CL=23127
This commit is contained in:
parent
0183baaf44
commit
839a68469b
234 changed files with 1198 additions and 1199 deletions
|
|
@ -12,8 +12,8 @@ import (
|
|||
"strconv";
|
||||
)
|
||||
|
||||
export func TypeToString(typ Type, expand bool) string
|
||||
export func ValueToString(val Value) string
|
||||
func TypeToString(typ Type, expand bool) string
|
||||
func ValueToString(val Value) string
|
||||
|
||||
func doubleQuote(s string) string {
|
||||
out := "\"";
|
||||
|
|
@ -62,7 +62,7 @@ func typeFieldsToString(t hasFields, sep string) string {
|
|||
return str;
|
||||
}
|
||||
|
||||
export func TypeToString(typ Type, expand bool) string {
|
||||
func TypeToString(typ Type, expand bool) string {
|
||||
var str string;
|
||||
if name := typ.Name(); !expand && name != "" {
|
||||
return name
|
||||
|
|
@ -126,7 +126,7 @@ func integer(v int64) string {
|
|||
return strconv.Itoa64(v);
|
||||
}
|
||||
|
||||
export func ValueToString(val Value) string {
|
||||
func ValueToString(val Value) string {
|
||||
var str string;
|
||||
typ := val.Type();
|
||||
switch(val.Kind()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue