डिक्लेरेशन
func Format(content string, params List<object>) string
go
पैरामीटर्स
इनपुट
| नाम | टाइप | विवरण |
|---|---|---|
| Content | String | Use the %v placeholder to represent a parameter. The number of %v and the number of parameters must be consistent. |
| Params | List | The parameter list involved in the output, needs to be consistent with the number of %v in the format description |
वापस
| टाइप | विवरण |
|---|---|
| String | Output string |