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

 

class method HTMLEscape(w: Writer; b: Slice<Byte>)

 

static void HTMLEscape(Writer w, Slice<Byte> b)

 

static func HTMLEscape(_ w: Writer, _ b: Slice<Byte>)

 

// .NET, .NET Standard 2.0
func HTMLEscape(w Writer, b Slice<Byte>) 
// Island
func HTMLEscape(w Writer, b Slice<Byte>) void

 

Shared Sub HTMLEscape(w As Writer, b As Slice<Byte>)

Parameters:

  • w:
  • b:

HTMLEscaper

 

class method HTMLEscaper(params args: array of Object): string

 

static string HTMLEscaper(params Object[] args)

 

static func HTMLEscaper(_ args: Object...) -> string

 

func HTMLEscaper(args []interface{}) string

 

Shared Function HTMLEscaper(ParamArray args As Object()) As string

Parameters:

  • args:

HTMLEscapeString

 

class method HTMLEscapeString(s: string): string

 

static string HTMLEscapeString(string s)

 

static func HTMLEscapeString(_ s: string) -> string

 

func HTMLEscapeString(s string) string

 

Shared Function HTMLEscapeString(s As string) As string

Parameters:

  • s:

IsTrue

 

class method IsTrue(val: Object): tuple of (truth: Boolean, ok: Boolean)

 

static (Boolean truth, Boolean ok) IsTrue(Object val)

 

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

 

class method JSEscape(w: Writer; b: Slice<Byte>)

 

static void JSEscape(Writer w, Slice<Byte> b)

 

static func JSEscape(_ w: Writer, _ b: Slice<Byte>)

 

// .NET, .NET Standard 2.0
func JSEscape(w Writer, b Slice<Byte>) 
// Island
func JSEscape(w Writer, b Slice<Byte>) void

 

Shared Sub JSEscape(w As Writer, b As Slice<Byte>)

Parameters:

  • w:
  • b:

JSEscaper

 

class method JSEscaper(params args: array of Object): string

 

static string JSEscaper(params Object[] args)

 

static func JSEscaper(_ args: Object...) -> string

 

func JSEscaper(args []interface{}) string

 

Shared Function JSEscaper(ParamArray args As Object()) As string

Parameters:

  • args:

JSEscapeString

 

class method JSEscapeString(s: string): string

 

static string JSEscapeString(string s)

 

static func JSEscapeString(_ s: string) -> string

 

func JSEscapeString(s string) string

 

Shared Function JSEscapeString(s As string) As string

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>

 

// .NET, .NET Standard 2.0
func Must(t Memory<Template>, err error) Memory<Template>
// Island
func Must(t Memory<Template>, err error) Memory<Template>

 

// .NET, .NET Standard 2.0
Shared Function Must(t As Memory<Template>, err As error) As Memory<Template>
// Island
Shared Function Must(t As Memory<Template>, err As error) As 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>

 

// .NET, .NET Standard 2.0
func New(name string) Memory<Template>
// Island
func New(name string) Memory<Template>

 

// .NET, .NET Standard 2.0
Shared Function New(name As string) As Memory<Template>
// Island
Shared Function New(name As string) As 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)

 

// .NET, .NET Standard 2.0
func ParseFiles(filenames []string) tuple of (Memory<Template>, error)
// Island
func ParseFiles(filenames []string) tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
Shared Function ParseFiles(ParamArray filenames As string()) As Tuple (Of Memory<Template>, error)
// Island
Shared Function ParseFiles(ParamArray filenames As string()) As Tuple (Of 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)

 

// .NET, .NET Standard 2.0
func ParseGlob(pattern string) tuple of (Memory<Template>, error)
// Island
func ParseGlob(pattern string) tuple of (Memory<Template>, error)

 

// .NET, .NET Standard 2.0
Shared Function ParseGlob(pattern As string) As Tuple (Of Memory<Template>, error)
// Island
Shared Function ParseGlob(pattern As string) As Tuple (Of Memory<Template>, error)

Parameters:

  • pattern:

URLQueryEscaper

 

class method URLQueryEscaper(params args: array of Object): string

 

static string URLQueryEscaper(params Object[] args)

 

static func URLQueryEscaper(_ args: Object...) -> string

 

func URLQueryEscaper(args []interface{}) string

 

Shared Function URLQueryEscaper(ParamArray args As Object()) As string

Parameters:

  • args: