lmlkj code example

Example 1: lmlkj

// Package path implements utility routines for
// manipulating slash-separated filename paths.

Example 2: lmlkj

/*
Package regexp implements a simple library for regular expressions.

The syntax of the regular expressions accepted is:

    regexp:
        concatenation { '|' concatenation }
    concatenation:
        { closure }
    closure:
        term [ '*' | '+' | '?' ]
    term:
        '^'
        '$'
        '.'
        character
        '[' [ '^' ] character-ranges ']'
        '(' regexp ')'
*/
package regexp

Example 3: lmlkj

x<<8 + y<<16

Example 4: lmlkj

type T struct {
    name    string // name of the object
    value   int    // its value
}

Example 5: lmlkj

type T struct {
    name string // name of the object
    value int // its value
}

Tags:

Misc Example