azer / go-makefile-example Goto Github PK
View Code? Open in Web Editor NEWExample Makefile for Go projects
Home Page: https://kodfabrik.com/journal/a-good-makefile-for-go/
License: Do What The F*ck You Want To Public License
Example Makefile for Go projects
Home Page: https://kodfabrik.com/journal/a-good-makefile-for-go/
License: Do What The F*ck You Want To Public License
Not able to install on Ubuntu 16.04:
$ git clone https://github.com/azer/go-makefile-example.git
$ cd go-makefile-example
$ go get github.com/azer/yolo
package context: unrecognized import path "context" (import path does not begin with hostname)
package net/http/httptrace: unrecognized import path "net/http/httptrace" (import path does not begin with hostname)
Hi there,
Not sure if this is still maintained, but if yes, here is a bug that I cannot understand in your example:
If you add a fmt.Println("someText")
in the main, the hot reload will silently fail. It seems that the binary is not run by yolo
func main() {
fmt.Println("OK1")
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "message2")
})
http.ListenAndServe(":8080", nil)
}
I'd be glad to help if you have any idea why
Line 49 in 7718c0c
This makefile is really super cool, but there's no licence associated with this project which legally means the default "all rights reserved" applies. (See GitHub licensing help pages for more info.)
If you could add an open source licence like MIT (or whichever), that would allow those of us working in places with policies about licensing to use it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.