gxc

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package gxc holds typed helpers that a client expression can call. Each helper has the same result in Go and in JavaScript (REQ-ACT-13).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func At

func At(s string, i int) string

At returns the code point at rune index i, or "" when i is out of range. Use it instead of s[i], which indexes bytes in Go.

func Contains

func Contains(s, substr string) bool

Contains reports whether s holds substr.

func Index

func Index(s, substr string) int

Index returns the rune index of substr in s, or -1.

func Len

func Len(s string) int

Len returns the number of Unicode code points in s. Use it instead of len, because len counts bytes in Go and code units in JavaScript.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL