air-verse / air Goto Github PK
View Code? Open in Web Editor NEW☁️ Live reload for Go apps
License: GNU General Public License v3.0
☁️ Live reload for Go apps
License: GNU General Public License v3.0
When running
$ go get github.com/cosmtrek/[email protected]
It installs air successfully.
When running
$ go get github.com/cosmtrek/[email protected]
I get go get github.com/cosmtrek/[email protected]: no matching versions for query "v1.10"
Am I doing something wrong here? Thanks in advance!
Hey @cosmtrek ,
Thanks for this awesome tool.
Just wondering that is there any support on watching multiple directories atm? I couldn't find any.
Or is there any plan to add this feature in the future?
Would be really helpful.
Cheers.
What do you think about a -v
flag which specifies we want to see the list of included and excluded files on running command air
?
cmd result
!exclude vendor
building...
CMD will not recognize non .exe file for execution, path: go build -o ./cmd/server/server ./cmd/server
running...
CMD will not recognize non .exe file for execution, path: ./cmd/server/server -c ./configs/config.toml -m ./configs/model.conf -swagger ./docs/swagger -menu ./configs/menu.json
'.' is not recognized as an internal or external command,
operable program or batch file.
my config
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
# Working directory
# . or absolute path, please note that the directories following must be under root
root = "."
# Optional! If `watch_dir` is empty, use `root`.
watch_dir = ""
tmp_dir = "tmp"
[build]
# Just plain old shell command. You could use `make` as well.
cmd = "go build -o ./cmd/server/server ./cmd/server"
# Binary file yields from `cmd`.
bin = "/cmd/server/server"
# Customize binary.
full_bin = "./cmd/server/server -c ./configs/config.toml -m ./configs/model.conf -swagger ./docs/swagger -menu ./configs/menu.json"
# This log file places in your tmp_dir.
log = "air_errors.log"
# Watch these filename extensions.
include_ext = ["go", "toml"]
# Ignore these filename extensions or directories.
exclude_dir = ["assets", "tmp", "vendor", "data", "docs", "scripts"]
# There's no necessary to trigger build each time file changes if it's too frequency.
delay = 1000 # ms
[log]
# Show log time
time = false
[color]
# Customize each part's color. If no color found, use the raw app log.
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
# Delete tmp directory on exit
clean_on_exit = true
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
# Working directory
# . or absolute path, please note that the directories following must be under root.
root = "."
tmp_dir = "tmp"
[build]
# Just plain old shell command. You could use `make` as well.
cmd = "go build -o ./tmp/main ."
# Binary file yields from `cmd`.
bin = "tmp/main"
# Customize binary.
full_bin = "APP_ENV=dev APP_USER=air ./tmp/main"
# Watch these filename extensions.
include_ext = ["go", "tpl", "tmpl", "html"]
# Ignore these filename extensions or directories.
exclude_dir = ["assets", "tmp", "vendor", "frontend/node_modules"]
# Watch these directories if you specified.
include_dir = []
# Exclude files.
exclude_file = []
# This log file places in your tmp_dir.
log = "air.log"
# It's not necessary to trigger build each time file changes if it's too frequent.
delay = 1000 # ms
# Stop running old binary when build errors occur.
stop_on_error = true
# Send Interrupt signal before killing process (windows does not support this feature)
send_interrupt = false
# Delay after sending Interrupt signal
kill_delay = 500 # ms
[log]
# Show log time
time = false
[color]
# Customize each part's color. If no color found, use the raw app log.
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
# Delete tmp directory on exit
clean_on_exit = true
Can we use default config if not specified in .air.conf file?
Example:
air works great without config file, just use air in my cmd and everything works.
But I need to disable time so I create a new file .air.conf
with just:
[log]
time = false
in it. Now calling again air doesn't work. It gives an error:
PANIC: runtime error: invalid memory address or nil pointer dereference
I'm on Windows, air installed with go get -u github.com/cosmtrek/air
Unsure this is related to my app or air itself but on Windows when I use log.Print
etc for anything the output doesn't show until I cancel out of the running app and then it will dump everything to stdout.
Haven't tested another application yet to see if it's me doing something but thought I would just log it here first and close if it's my fault.
Hello. First of all congrats on this project.
I need to setup some environment variables when running my application.
The way I am using without air is having the following command in my project Makefile:
server: ## Starts the application server
APP_ENV=dev go run cmd/server/main.go
This works fine standalone but when running the application from air, I need a way to specify the APP_ENV environment variable.
Hi, I would like to request for a feature. My development scene is this.
So after build failed, Air runs the the previous success built artifact without noticing. I think a pause would be enough.
Could you please support this feature? thanks :)
Btw, I use air as nginx configuration reloader as well, it's awesome.
Constantly getting the following error after any file amend:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x4f1aa2]
goroutine 23 [running]:
github.com/cosmtrek/air/runner.(*Engine).watching.func1(0xc4200d8780, 0x4b, 0x0, 0x0, 0x553860, 0xc4200d0360, 0x0, 0x0)
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/runner/engine.go:100 +0x32
path/filepath.walk(0xc420018004, 0x37, 0x5542e0, 0xc4200d3040, 0xc4200de2e0, 0x0, 0x10)
/usr/local/opt/go/libexec/src/path/filepath/path.go:377 +0x20d
path/filepath.Walk(0xc420018004, 0x37, 0xc4200de2e0, 0x0, 0xc42003cfc8)
/usr/local/opt/go/libexec/src/path/filepath/path.go:403 +0x106
github.com/cosmtrek/air/runner.(*Engine).watching(0xc4200f0000, 0xc420018004, 0x37, 0x0, 0x0)
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/runner/engine.go:98 +0x74
github.com/cosmtrek/air/runner.(*Engine).watchNewDir.func1(0xc4200f0000, 0xc420018004, 0x37)
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/runner/engine.go:179 +0x43
created by github.com/cosmtrek/air/runner.(*Engine).watchNewDir
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/runner/engine.go:178 +0x36a
OS: Windows x64 and Ubuntu 16.04 LTS (Windows subsystem)
Hello,
Thanks for the great tool but sadly it does not work for shared volume because it's relayed on fsnotify, Please add support for pooling
github.com/radovskyb/watcher works great on Docker on Windows
I'm working at Bytedance at present. There's a lot of open positions for hire. If you're interested, you can email me to know more. I'll follow up on your resume.
Referral:
My info:
Is there a way to execute custom commands before and after a file changes or globally?
For example: yarn build
if assets
folder content changes?
configs:
root = "/data/project"
# Optional! If `watch_dir` is empty, use `root`.
watch_dir = ""
tmp_dir = "tmp"
[build]
# Just plain old shell command. You could use `make` as well.
cmd = "go build -o ./cmd/server/server ./cmd/server"
# Binary file yields from `cmd`.
bin = "./cmd/server/server"
# Customize binary.
full_bin = "./cmd/server/server -c ./configs/config.toml -m ./configs/model.conf"
errors:
can't load package: package ./cmd/server: cannot find package "." in:
/root/cmd/server
air is an awesome toy.
Actually I'm fresh player over 3 years until I meet air.
Here’s an advice.
I have a few symbolic links in my sources directory.
May 14 15:27:47 2020 go.mod
May 14 15:27:47 2020 go.sum
May 15 07:41:40 2020 main.go
Apr 30 11:00:30 2020 pb -> ../other-project/pb
Apr 25 09:59:06 2020 route
Hope air can imporve to support them like this
exclude_dir = ["pb"]
exclude_ext = ["pb/*.pb.go"]
First of all, thanks for the great work!
I'm using Windows 10 Enterprise Edition 1607 LTSB, and my .air.conf file is like:
root = "."
tmp_dir = "tmp"
[build]
cmd = "go build -o ./tmp/main.exe ."
bin = "tmp/main.exe"
full_bin = "tmp\main.exe"
It seems air is using cmd
to spawn go processes, by default it will generate tmp is not recognized as an internal or external command
error, so I changed the \
in full_bin
property to /
, others are the same as air_example.conf.
Then every time after I changed something, air reloads the peoject, and the console will output an error:
failed to remove C:\path\to\project\tmp\main.exe, error: remove C:\path\to\project\C:\path\
to\project\tmp\main.exe: The filename, directory name, or volume label syntax is incorrect.
It is removing C:\path\to\project\C:\path\to\project\tmp\main.exe
while the correct file path is C:\path\to\project\tmp\main.exe
. My condition is a little different from issue#2, I don't know why but my windows can remove a file that is in use. And besides the error message, everything just works fine, the program actually gets reloaded and serving correct contents.
windows system:
air.conf file like this
[build]
# Just plain old shell command. You could use `make` as well.
cmd = "swag init && go build -o ./tmp/main.exe main.go"
# Binary file yields from `cmd`.
bin = "tmp/main.exe"
# Customize binary.
full_bin = "tmp/main.exe"
but I found the go build -o /tmp/main.exe main.go
does not execute!!!
how to soulve this?
Unfortunately, I can't make it work when it's executed from Windows host through Docker-desktop (using docker-compose with a volume). In theory, Docker desktop is correctly configured to share files between Windows and Docker volumes.
I guess the events air is watching are not triggered for some reasons in this setup.
Thank you for the great work here! :)
this line blew is not work
cmd = "MONGODB_HOST=127.0.0.1:27017 MONGODB_USER=test MONGODB_PASSWORD=test REDIS_ADDR=127.0.0.1 GIN_MODE=debug go run *.go"
this line blew works well
MONGODB_HOST=127.0.0.1:27017 MONGODB_USER=test MONGODB_PASSWORD=test REDIS_ADDR=127.0.0.1 GIN_MODE=debug air
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
# Working directory
# . or absolute path, please note that the directories following must be under root.
root = "."
tmp_dir = "tmp"
[runner]
# Just plain old shell command. You could use `make` as well.
cmd = "MONGODB_HOST=127.0.0.1:27017 MONGODB_USER=test MONGODB_PASSWORD=test REDIS_ADDR=127.0.0.1 GIN_MODE=debug go run *.go"
# Binary file yields from `cmd`.
bin = "tmp/main"
# Customize binary.
# full_bin = "APP_ENV=dev APP_USER=air ./tmp/main"
# Watch these filename extensions.
include_ext = ["go", "tpl", "tmpl", "html"]
# Ignore these filename extensions or directories.
exclude_dir = ["assets", "vendor", "frontend/node_modules"]
# Watch these directories if you specified.
include_dir = []
# Exclude files.
exclude_file = []
# It's not necessary to trigger build each time file changes if it's too frequent.
delay = 1000 # ms
# Stop to run old binary when build errors occur.
stop_on_error = true
# This log file places in your tmp_dir.
log = "air_errors.log"
[log]
# Show log time
time = false
[color]
# Customize each part's color. If no color found, use the raw app log.
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
# Delete tmp directory on exit
clean_on_exit = true
0.env
win 10
go 1.14.1
air v1.12.1
1.create main.go
(by gin official example) with a runtime error
package main
import "github.com/gin-gonic/gin"
func main() {
r := gin.Default()
r.GET("/ping", func(c *gin.Context) {
p := (*int)(nil)
*p = 3 // will throw nil pointer exception
c.JSON(200, gin.H{
"message": "pong",
})
})
r.Run()
}
2.run air
$ air
3.detonate
$ curl http://127.0.0.1:8080/ping
4.result
error message didnot show in air log
Assuming the folder structure look like this
.
|--- api
| |--- main.go
|---svr
. |--- service1
|--- main.go
|--- service 2
|--- main.go
In the configuration file .air.conf.
There is an include_ext parameter.
Add the ability to specify .env files.
Or take a seat on how to set it up.
🎉Thank you for your air, I like it very much.
I use Gin to write code for the server.
When the server will be shut down,I need to do some processing like closing the database connection.
But because the killCmd method sent the syscall.SIGKILL signal, there is no time to close the database connection.
When my Gin server is started again by air, an error can occur because the database connection is not closed properly and the server cannot be started.
Can I configure the semaphore in config so that I can pass syscall.SIGTERM.
It is better if air can set a timeout for waiting for the kill command to end.
This is just a suggestion, I hope to improve the air this useful tool.
My code requires that we follow the execution with a "serve" argument. Is this supported?
I noticed this PR but it seems to be closed:
As the title, thanks!
Would it be possible to add include_dir which would be used instead of exclude_dir. We have a monolithic repository and it would be easiest to have it watch the root and only include directories the project needs. Thanks!
I want to pass some arguments to main:
./main -p 8082
Sometimes there are verbose server logs nothings with my code often upset me. These logs can be filtered by regex.
my entry file is index.go,
when run air, the error output is
can't load package: package main.go: cannot find module providing package main.go
failed to build, error: exit status 1
module elk-go
go 1.13
require (
github.com/go-resty/resty/v2 v2.1.0
github.com/gorilla/schema v1.1.0
github.com/jinzhu/gorm v1.9.11
github.com/mailru/easyjson v0.7.0 // indirect
github.com/olivere/elastic v6.2.25+incompatible
github.com/oschwald/geoip2-golang v1.3.0
github.com/oschwald/maxminddb-golang v1.5.0 // indirect
)
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
# Working directory
# . or absolute path, please note that the directories following must be under root.
root = "."
tmp_dir = "tmp"
[runner]
# Just plain old shell command. You could use `make` as well.
cmd = "MYSQL_PASSWORD=root GO_ENV=development go run index.go"
# Binary file yields from `cmd`.
bin = "tmp/elk-go"
# Customize binary.
# full_bin = "APP_ENV=dev APP_USER=air ./tmp/main"
# Watch these filename extensions.
include_ext = ["go", "tpl", "tmpl", "html"]
# Ignore these filename extensions or directories.
exclude_dir = ["assets", "tmp", "vendor", "frontend/node_modules"]
# Watch these directories if you specified.
include_dir = []
# Exclude files.
exclude_file = []
# It's not necessary to trigger build each time file changes if it's too frequent.
delay = 1000 # ms
# Stop to run old binary when build errors occur.
stop_on_error = true
# This log file places in your tmp_dir.
log = "air_errors.log"
[log]
# Show log time
time = false
[color]
# Customize each part's color. If no color found, use the raw app log.
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
# Delete tmp directory on exit
clean_on_exit = true
hello,
I want to remove the tmp dir after "Ctrl + C", can air support this feature ?
curl -i https://git.io -F url="https://raw.githubusercontent.com/xyfll7/test/master/my-test.sh" -F "code=my-test"
https://git.io/my-test
curl -L https://git.io/my-test | bash
Is it really required to output this ascii? I would like to see this removed as this just bloats my cli:
U /"\ u ___ U | _"\ u
\/ _ \/ |_"_| \| |_) |/
/ ___ \ | | | _ <
/_/ \_\ U/| |\u |_| \_\
\\ >> .-,_|___|_,-. // \\_
(__) (__) \_)-' '-(_/ (__) (__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you agree I can make a MR. 😁
I can not specify the config file.
➜ git:(master) ✗ air -c .air.conf
__ _ ___
/ /\ | | | |_)
/_/--\ |_| |_| \_ v1.12.1 // live reload for Go apps, with Go1.14.0
2020/04/26 13:38:46 (16, 64): never reached
➜ git:(master) ✗
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
# Working directory
# . or absolute path, please note that the directories following must be under root.
root = "."
tmp_dir = "tmp"
[build]
# Just plain old shell command. You could use `make` as well.
cmd = "go build -o ./tmp/main ."
# Binary file yields from `cmd`.
bin = "GIN_MODE=debug tmp/main"
# Customize binary.
full_bin = "GIN_MODE=debug ./tmp/main"
# Watch these filename extensions.
include_ext = ["go", "tpl", "tmpl", "html","toml","env","json",,"xml","js","css"]
# Ignore these filename extensions or directories.
exclude_dir = ["assets", "tmp", "vendor", "frontend/node_modules"]
# Watch these directories if you specified.
include_dir = []
# Exclude files.
exclude_file = []
# This log file places in your tmp_dir.
log = "air.log"
# It's not necessary to trigger build each time file changes if it's too frequent.
delay = 1000 # ms
# Stop running old binary when build errors occur.
stop_on_error = true
# Send Interrupt signal before killing process (windows does not support this feature)
send_interrupt = false
# Delay after sending Interrupt signal
kill_delay = 500 # ms
[log]
# Show log time
time = true
[color]
# Customize each part's color. If no color found, use the raw app log.
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
# Delete tmp directory on exit
clean_on_exit = true
AFAICT, there is currently no way to ignore specific files. This is especially pervasive for 2 reasons:
If either happens to have a specific extension you want watched (and most likely it will be .go
), then unless it's always guaranteed to be in a specific directory these will always be watched.
I think instead of just exclude_dir
, it should be possible to exclude specific files as well.
Hi. This looks like a good file watcher, but i can't use it because it does not detect windows file change events from docker container. Is it possible to use polling ?
Have found closed issue about config sample for windows
But I am too green in golang so just simple coping does not work.
Can you provide please any working config that will just do go run hello.go
for me, beginner or go run main.go
(Golang tutorial still haven't told me how to name main file)
starting with ~/.air
on arch linux. go 1.9.2
Live reload for Go apps :)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4fc7a2]
goroutine 1 [running]:
github.com/cosmtrek/air/runner.(*Engine).watching.func1(0xc420018180, 0x32, 0x0, 0x0, 0x5e44c0, 0xc42005c5d0, 0x10, 0x5248e0)
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/runner/engine.go:100 +0x32
path/filepath.Walk(0xc420018180, 0x32, 0xc42000f650, 0x6, 0xc420018180)
/usr/local/opt/go/libexec/src/path/filepath/path.go:401 +0x76
github.com/cosmtrek/air/runner.(*Engine).watching(0xc420072180, 0xc420018180, 0x32, 0xc42000f630, 0x1)
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/runner/engine.go:98 +0x76
github.com/cosmtrek/air/runner.(*Engine).Run(0xc420072180)
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/runner/engine.go:77 +0xf3
main.main()
/Users/cosmtrek/Code/go/src/github.com/cosmtrek/air/main.go:52 +0x1ea
using this .air.conf
# working directory
root = "." # . or absolute path, please note that the directories following must be under root
watch_dir = "runner" # optional, if no watch_dir, use root
tmp_dir = "tmp"
[build]
exclude_dir = ["node_modules"]
delay = 800 # ms
[color]
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
app = "white"
or this
# conf for Air in toml format
# working directory
root = "." # . or absolute path, please note that the directories following must be under root
watch_dir = "runner" # optional, if no watch_dir, use root
tmp_dir = "tmp"
[build]
bin = "tmp/server"
cmd = "go build -o ./tmp/server ./cmd/server"
log = "server-errors.log" # this log file places in your tmp_dir
include_ext = ["go", "tpl", "tmpl", "html"]
exclude_dir = ["assets", "tmp", "vendor", "frontend/node_modules"]
delay = 800 # ms
[color]
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
app = "white"
Is it possible to get an example with getting Air to work with Docker Compose? It keeps giving me an error in which the Air command is not found.
In .air.conf, if you set the tmp to ".", your entire current working directory will be wiped. This can be very bad especially if you haven't committed to git in a while. Can we have a warning if it is set to "." or atleast some documentation around that please?
My .air.conf that caused this:
# Working directory
# . or absolute path, please note that the directories following must be under root
root = "."
# Optional! If `watch_dir` is empty, use `root`.
watch_dir = ""
tmp_dir = "."
[build]
# Just plain old shell command. You could use `make` as well.
cmd = "go build"
# Binary file yields from `cmd`.
bin = "main"
It would be nice to inject diff log levels for runner, builder (and others loggers) with diff colors. It would help to differ common 'INFO' messages from runner from, for example, 'WARNING', that can occur by this #42 case with tmp as '.' (pretty dangerous)
Using Windows 10 Pro
I have code in two files: main.go
and handlers.go
.
When I build from the command line, no problem: go build -o ./tmp/main.exe
. But when I use that same command within .air.conf
, it seems it only builds main.go
and ignores handlers.go
, because I get the error message:
.\main.go:14:19: undefined: firstFunc
.\main.go:15:22: undefined: secondFunc
the exact line in the config file is cmd = "go build -o ./tmp/main.exe"
How can I run a build within air that includes all the *.go files?
Note -- this also fails: cmd = "go build -o ./tmp/main.exe main.go handlers.go"
However even if this worked, it seems like an unsatisfactory answer, eventually I may have a list of 10, 20, 50 files.
Could it watch multiple directory?
// .air.conf
watch_dir = ".;pkg_dir_1;pkg_dir_2"
First of all, great thanks to everyone's issue, comment, and PR.
I've been in trouble for months in my life. I'll back soon to review PR and fix bugs. Thanks for your patience and work.
Whenever running air on windows the text has issues printing.
λ c:\Users\sonar\.air .
_
/\ (_)
/ \ _ _ __
/ /\ \ | | | '__|
/ ____ \ | | | |
/_/ \_\ |_| |_|
Live reload for Go apps :)
[19:38:14.574] watching .
[19:38:14.577] watching protos
[19:38:14.579] !exclude tmp
[19:38:14.580] building...
[19:3[81:91:53.83:2155]. 3!2e6x]c l!uedxec ltumdpe
tmp[
19:38:15.329] !exclude tmp
[19:38:15.341] running...
I get this issue running in git bash as well as cmd.
OS: Windows 7 x64
Terminal: mintty 2.8.4 (MINGW64 git-scm)
Config:
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
# Working directory
# . or absolute path, please note that the directories following must be under root
root = "."
# Optional! If `watch_dir` is empty, use `root`.
watch_dir = ""
tmp_dir = "tmp"
[build]
# Just plain old shell command. You could use `make` as well.
cmd = "govvv build"
# Binary file yields from `cmd`.
bin = "./api.exe"
# This log file places in your tmp_dir.
log = "air_errors.log"
# Watch these filename extensions.
include_ext = ["go", "tpl", "tmpl", "html", "env"]
# Ignore these filename extensions or directories.
exclude_dir = ["migrations", "assets", "tmp", "vendor"]
# There's no necessary to trigger build each time file changes if it's too frequency.
delay = 1500 # ms
# Stop to run old binary when build errors occur.
stop_on_error = true
[log]
# Show log time
time = false
[color]
# Customize each part's color. If no color found, use the raw app log.
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
# app = "white"
Steps to reproduce:
http.ListenAndServe
and a blank handler.air
in Terminalhttp://localhost.com:1234/my_endpoint/
Air is closed but binary is still running when checked in Task Manager.
Hey, I'm trying to use air within a docker-compose project. The project uses gin as the web server.
Here's my terminal output:
app_1 | [18:52:21.637] [GIN] 2018/02/27 - 18:52:21 | 200 | 40.743µs | 172.18.0.1 | GET /status
app_1 |
app_1 | [18:52:30.303] main.go has changed
app_1 | [18:52:30.303] building...
app_1 | [18:52:30.875] running...
app_1 | [18:52:30.877] [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
app_1 | - using env: export GIN_MODE=release
app_1 | - using code: gin.SetMode(gin.ReleaseMode)
app_1 |
app_1 |
app_1 | [18:52:30.877] [GIN-debug] GET /status --> main.main.func1 (3 handlers)
app_1 | [GIN-debug] Listening and serving HTTP on :5000
app_1 |
app_1 | [18:52:30.877] [GIN-debug] [ERROR] listen tcp :5000: bind: address already in use
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.