Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

bufferflow_tinyg_old.md

serial-port-json-server
arduino-create-agent

snapshot/*
public/
Expand Down
149 changes: 138 additions & 11 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
# go-tests = true
# unused-packages = true

required = ["goa.design/goa/codegen/generator"]

[[constraint]]
name = "github.com/Sirupsen/logrus"
name = "github.com/sirupsen/logrus"
version = "1.2.0"

[[constraint]]
Expand Down
2 changes: 1 addition & 1 deletion bufferflow_default.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
)

type BufferflowDefault struct {
Expand Down
2 changes: 1 addition & 1 deletion bufferflow_timed.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
)

type BufferflowTimed struct {
Expand Down
2 changes: 1 addition & 1 deletion bufferflow_timedraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
)

type BufferflowTimedRaw struct {
Expand Down
2 changes: 1 addition & 1 deletion certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"text/template"
"time"

log "github.com/Sirupsen/logrus"
"github.com/gin-gonic/gin"
log "github.com/sirupsen/logrus"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import (
"os"
"path/filepath"

log "github.com/Sirupsen/logrus"
"github.com/arduino/arduino-create-agent/upload"
"github.com/arduino/arduino-create-agent/utilities"
"github.com/gin-gonic/gin"
socketio "github.com/googollee/go-socket.io"
log "github.com/sirupsen/logrus"
)

type connection struct {
Expand Down
13 changes: 13 additions & 0 deletions design/design.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package design

import . "goa.design/goa/dsl"

var _ = API("arduino-create-agent", func() {
Title("Arduino Create Agent")
Description(`A companion of Arduino Create.
Allows the website to perform operations on the user computer,
such as detecting which boards are connected and upload sketches on them.`)
HTTP(func() {
Path("/v2")
})
})
10 changes: 10 additions & 0 deletions design/docs.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package design

import . "goa.design/goa/dsl"

var _ = Service("docs", func() {
HTTP(func() {
Path("/docs")
})
Files("/pkgs", "docs/pkgs.html")
})
Loading