Skip to content

Instantly share code, notes, and snippets.

player.cs

using UnityEngine;
using System.Collections;

public class Player : MonoBehaviour
{
 // 移動スピード

hello-kube-pod.yaml

apiVersion: v1
kind: Pod
metadata:
  name: hello-kube-pod
  namespace: default
spec:
package main
import (
"fmt"
"log"
_ "github.com/go-sql-driver/mysql"
"github.com/jmoiron/sqlx"
"io/ioutil"
)
package main

import (
	"github.com/gorilla/sessions"
	"net/http"
	"html/template"
	"github.com/labstack/echo"
	"github.com/labstack/echo-contrib/session"
	"io"
package main

import (
	"fmt"
	"log"
	"os"
	"strconv"
	"time"
	"io/ioutil"

sample code

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
    <defs>
        <style>
            .cls-1{fill:none;stroke:#ff7bac;stroke-miterlimit:10;stroke-width:4px;}
            .cls-2{fill:#ff7bac;}
            .cls-3{fill:#d48496;}
            .cls-4{fill:#f2c674;}

ファイル出力

package main
 
import (
    "os"
)
 

デバッグ用のコードを書いてみる

helloworld.go

package main
import "fmt"

func main() {
  fmt.Println("Hello world!")