Browse Source

Added DependaBot config

pull/11/head
James Mills 2 years ago
parent
commit
cde02aa47e
Signed by: prologic GPG Key ID: AC4C014F1440EBD6
  1. 5
      .dependabot/config.yml
  2. 11
      examples/echoserver.monkey

5
.dependabot/config.yml

@ -0,0 +1,5 @@
version: 1
update_configs:
- package_manager: "go:modules"
directory: "/"
update_schedule: "daily"

11
examples/echoserver.monkey

@ -4,8 +4,11 @@ fd := socket("tcp4")
bind(fd, "0.0.0.0:8000")
listen(fd, 1)
nfd := accept(fd)
msg := read(nfd)
write(nfd, msg)
close(nfd)
while (true) {
nfd := accept(fd)
msg := read(nfd)
write(nfd, msg)
close(nfd)
}
close(fd)

Loading…
Cancel
Save