Format

Strings
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Output a string with parameters

Declaración

func Format(content string, params List<object>) string
go

Parámetros

Entrada

Nombre Tipo Descripción
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

Regresar

Tipo Descripción
String Output string