Skip to content

Instantly share code, notes, and snippets.

package main
import (
"code.google.com/p/go.net/websocket"
)
type connection struct {
// The websocket connection.
ws *websocket.Conn
<?php
class mA
{
const TEST = 'mA';
public function getSelf()
{
return self::TEST;
}