この資料はGo弱の会向けに作成中の資料です。 Go強の方がいらっしゃいましたら補足とかもらえると助かります。
- 本家
- http://golang.org/
- ドキュメント
- http://golang.org/doc/
//スプライトを回転 | |
pSprite->setRotation(90); |
using UnityEngine; | |
[ExecuteInEditMode] | |
public class LWFSampleObject : LWFObject { | |
public int count=0; | |
void Start() | |
{ | |
string dir = System.IO.Path.GetDirectoryName(lwfName); | |
if (dir.Length > 0) | |
dir += "/"; |
using UnityEngine; | |
using System.Collections; | |
public class CheckFallDelete : MonoBehaviour | |
{ | |
GameObject manager; | |
private const float sendParameter = 1; | |
private const float DELETE_Y_POS = -3; |
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"draw_minimap_border": true, | |
"font_face": "Source Code Pro", | |
"font_size": 12.0, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": |
func dataStore(c appengine.Context, id string) { | |
m = make(map[string]int32) | |
_, err := memcache.JSON.Get(c, "names", &m) | |
if err != nil && err != memcache.ErrCacheMiss { | |
return | |
} | |
c.Infof("%s", m) | |
m[id] = int32(time.Now().Unix()) |
package channelExample | |
import ( | |
"appengine" | |
"appengine/memcache" | |
"time" | |
) | |
type Users struct { | |
Name string |
heroku login | |
# accountとpassを入力し、ssh keyの登録を行います。 | |
heroku create moge-sandbox -s cedar | |
#https://devcenter.heroku.com/articles/cedar | |
#アプリの作成を行います。stackにcedarを選択。 | |
#Creating moge-sandbox... done, stack is cedar | |
#http://moge-sandbox.herokuapp.com/ | git@heroku.com:moge-sandbox.git | |
git clone git@heroku.com:moge-sandbox.git |
この資料はGo弱の会向けに作成中の資料です。 Go強の方がいらっしゃいましたら補足とかもらえると助かります。
go run hello.go | |
hello.go:4:2: cannot find package "fmt" in any of: | |
/usr/local/etc/src/pkg/fmt (from $GOROOT) | |
/Users/mogetta/Documents/go/src/fmt (from $GOPATH) | |
package runtime: cannot find package "runtime" in any of: | |
/usr/local/etc/src/pkg/runtime (from $GOROOT) | |
/Users/mogetta/Documents/go/src/runtime (from $GOPATH) |