From 9f765017002f2d5e81e5245e64bea72fad28c32f Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Mon, 1 May 2017 15:27:03 -0400 Subject: [PATCH] Rename repository to example. Closes #58. --- CONTRIBUTING.md | 4 ++-- README.md | 2 +- gl21-cube/README.md | 2 +- gl21-cube/cube.go | 2 +- gl41core-cube/README.md | 2 +- gl41core-cube/cube.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 56dd131..bf74fce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ -Contributing to go-gl/examples -============================== +Contributing to go-gl/example +============================= We appreciate your help! diff --git a/README.md b/README.md index dd2721f..b3dc850 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# go-gl Examples [![Build Status](https://travis-ci.org/go-gl/examples.svg?branch=master)](https://travis-ci.org/go-gl/examples) [![GoDoc](https://godoc.org/github.com/go-gl/examples?status.svg)](https://godoc.org/github.com/go-gl/examples) +# go-gl Examples [![Build Status](https://travis-ci.org/go-gl/example.svg?branch=master)](https://travis-ci.org/go-gl/example) [![GoDoc](https://godoc.org/github.com/go-gl/example?status.svg)](https://godoc.org/github.com/go-gl/example) Basic Usage ----------- diff --git a/gl21-cube/README.md b/gl21-cube/README.md index 57487f8..4384c0a 100644 --- a/gl21-cube/README.md +++ b/gl21-cube/README.md @@ -4,7 +4,7 @@ Cube Renders a textured spinning cube using GLFW 3 and OpenGL 2.1. ``` -go get -u github.com/go-gl/examples/gl21-cube +go get -u github.com/go-gl/example/gl21-cube ``` ![Screenshot](Screenshot.png) diff --git a/gl21-cube/cube.go b/gl21-cube/cube.go index 22c68fa..a153588 100644 --- a/gl21-cube/cube.go +++ b/gl21-cube/cube.go @@ -206,7 +206,7 @@ func drawScene() { // Set the working directory to the root of Go package, so that its assets can be accessed. func init() { - dir, err := importPathToDir("github.com/go-gl/examples/gl21-cube") + dir, err := importPathToDir("github.com/go-gl/example/gl21-cube") if err != nil { log.Fatalln("Unable to find Go package in your GOPATH, it's needed to load assets:", err) } diff --git a/gl41core-cube/README.md b/gl41core-cube/README.md index 218ee46..71d5d5f 100644 --- a/gl41core-cube/README.md +++ b/gl41core-cube/README.md @@ -4,7 +4,7 @@ Cube Renders a textured spinning cube using GLFW 3 and OpenGL 4.1 core forward-compatible profile. ``` -go get -u github.com/go-gl/examples/gl41core-cube +go get -u github.com/go-gl/example/gl41core-cube ``` ![Screenshot](Screenshot.png) diff --git a/gl41core-cube/cube.go b/gl41core-cube/cube.go index c81c37e..09f23d6 100644 --- a/gl41core-cube/cube.go +++ b/gl41core-cube/cube.go @@ -320,7 +320,7 @@ var cubeVertices = []float32{ // Set the working directory to the root of Go package, so that its assets can be accessed. func init() { - dir, err := importPathToDir("github.com/go-gl/examples/gl41core-cube") + dir, err := importPathToDir("github.com/go-gl/example/gl41core-cube") if err != nil { log.Fatalln("Unable to find Go package in your GOPATH, it's needed to load assets:", err) }