mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
parent
2e853ec88a
commit
d488c4b4ac
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ import (
|
|||
// of Go data types. The data return value may be one of float64, string,
|
||||
// bool, nil, []interface{} or map[string]interface{}. The array and map
|
||||
// elements may in turn contain any of the types listed above and so on.
|
||||
|
||||
//
|
||||
// If Decode encounters a syntax error, it returns with err set to an
|
||||
// instance of ParseError. See ParseError documentation for details.
|
||||
func Decode(s string) (data interface{}, err os.Error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue