Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for timeline (0.03 sec)

  1. doc/go_spec.html

    <p>
    Type definitions may be used to define different boolean, numeric,
    or string types and associate methods with them:
    </p>
    
    <pre>
    type TimeZone int
    
    const (
    	EST TimeZone = -(5 + iota)
    	CST
    	MST
    	PST
    )
    
    func (tz TimeZone) String() string {
    	return fmt.Sprintf("GMT%+dh", tz)
    }
    </pre>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (1)
Back to top