Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.text.template
- Platforms: .NET, .NET Standard 2.0, Island
Methods
HTMLEscape
Parameters:
- w:
- b:
HTMLEscaper
func HTMLEscaper(args []interface{}) string
Parameters:
- args:
HTMLEscapeString
Parameters:
- s:
IsTrue
static func IsTrue(_ val: Object) -> (Boolean, Boolean)
func IsTrue(val interface{}) tuple of (|name=truth| Boolean, |name=ok| Boolean)
Shared Function IsTrue(val As Object) As Tuple (Of Boolean, Boolean)
Parameters:
- val:
JSEscape
Parameters:
- w:
- b:
JSEscaper
func JSEscaper(args []interface{}) string
Parameters:
- args:
JSEscapeString
Parameters:
- s:
Must
// .NET, .NET Standard 2.0
class method Must(t: Memory<Template>; err: error): Memory<Template>
// Island
class method Must(t: Memory<Template>; err: error): Memory<Template>
// .NET, .NET Standard 2.0
static Memory<Template> Must(Memory<Template> t, error err)
// Island
static Memory<Template> Must(Memory<Template> t, error err)
// .NET, .NET Standard 2.0
static func Must(_ t: Memory<Template>, _ err: error) -> Memory<Template>
// Island
static func Must(_ t: Memory<Template>, _ err: error) -> Memory<Template>
Parameters:
- t:
- err:
New
// .NET, .NET Standard 2.0
class method New(name: string): Memory<Template>
// Island
class method New(name: string): Memory<Template>
// .NET, .NET Standard 2.0
static Memory<Template> New(string name)
// Island
static Memory<Template> New(string name)
// .NET, .NET Standard 2.0
static func New(_ name: string) -> Memory<Template>
// Island
static func New(_ name: string) -> Memory<Template>
Parameters:
- name:
ParseFiles
// .NET, .NET Standard 2.0
class method ParseFiles(params filenames: array of string): tuple of (Memory<Template>, error)
// Island
class method ParseFiles(params filenames: array of string): tuple of (Memory<Template>, error)
// .NET, .NET Standard 2.0
static (Memory<Template>, error) ParseFiles(params string[] filenames)
// Island
static (Memory<Template>, error) ParseFiles(params string[] filenames)
// .NET, .NET Standard 2.0
static func ParseFiles(_ filenames: string...) -> (Memory<Template>, error)
// Island
static func ParseFiles(_ filenames: string...) -> (Memory<Template>, error)
Parameters:
- filenames:
ParseGlob
// .NET, .NET Standard 2.0
class method ParseGlob(pattern: string): tuple of (Memory<Template>, error)
// Island
class method ParseGlob(pattern: string): tuple of (Memory<Template>, error)
// .NET, .NET Standard 2.0
static (Memory<Template>, error) ParseGlob(string pattern)
// Island
static (Memory<Template>, error) ParseGlob(string pattern)
// .NET, .NET Standard 2.0
static func ParseGlob(_ pattern: string) -> (Memory<Template>, error)
// Island
static func ParseGlob(_ pattern: string) -> (Memory<Template>, error)
Parameters:
- pattern:
URLQueryEscaper
func URLQueryEscaper(args []interface{}) string
Parameters:
- args: