Git Product home page Git Product logo

go-present-seek's Introduction

golang workshop

Link to presentation

  • Work in pairs, learn the basics of golang and build a web api
  • Packaging, building the app
  • Syntax and best practices

Tools required for the workshop

IDE Setup

visual studio - https://github.com/Microsoft/vscode-go sublime text 3 - https://github.com/DisposaBoy/GoSublime atom - https://atom.io/packages/go-plus

Mysql installation

After installing mysql, you should be able to invoke the mysql command from the terminal. If it doesn't work, try pasting this into your .bash_profiel

$ PATH=${PATH}:/usr/local/mysql/bin

The next thing to do is to reset the password.

$ mysql -u root - p
# Enter the password that is provided by oracle
$  SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');

List of useful mysql commands

http://g2pc1.bu.edu/~qzpeng/manual/MySQL%20Commands.htm https://www.pantz.org/software/mysql/mysqlcommands.html

Useful go packages

$ go get -u golang.org/x/tools/cmd/goimports
$ go get -u golang.org/x/tools/cmd/vet
$ go get -u golang.org/x/tools/cmd/oracle
$ go get -u golang.org/x/tools/cmd/godoc

Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.

$ go build
$ go run main.go
$ go test
$ go benchmark

go-present-seek's People

Contributors

alextanhongpin avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.