Skip to content

Commit 94c79b3

Browse files
authored
Merge pull request #339 from arduino/goa
Tools management version 2
2 parents 36a350f + e5c4057 commit 94c79b3

File tree

394 files changed

+95628
-325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+95628
-325
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
bufferflow_tinyg_old.md
33

4-
serial-port-json-server
4+
arduino-create-agent
55

66
snapshot/*
77
public/

Gopkg.lock

+138-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@
2424
# go-tests = true
2525
# unused-packages = true
2626

27+
required = ["goa.design/goa/codegen/generator"]
2728

2829
[[constraint]]
29-
name = "github.com/Sirupsen/logrus"
30+
name = "github.com/sirupsen/logrus"
3031
version = "1.2.0"
3132

3233
[[constraint]]

bufferflow_default.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
log "github.com/Sirupsen/logrus"
4+
log "github.com/sirupsen/logrus"
55
)
66

77
type BufferflowDefault struct {

bufferflow_timed.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"time"
66

7-
log "github.com/Sirupsen/logrus"
7+
log "github.com/sirupsen/logrus"
88
)
99

1010
type BufferflowTimed struct {

bufferflow_timedraw.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"time"
66

7-
log "github.com/Sirupsen/logrus"
7+
log "github.com/sirupsen/logrus"
88
)
99

1010
type BufferflowTimedRaw struct {

certificates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
"text/template"
2525
"time"
2626

27-
log "github.com/Sirupsen/logrus"
2827
"github.com/gin-gonic/gin"
28+
log "github.com/sirupsen/logrus"
2929
)
3030

3131
var (

conn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ import (
1818
"os"
1919
"path/filepath"
2020

21-
log "github.com/Sirupsen/logrus"
2221
"github.com/arduino/arduino-create-agent/upload"
2322
"github.com/arduino/arduino-create-agent/utilities"
2423
"github.com/gin-gonic/gin"
2524
socketio "github.com/googollee/go-socket.io"
25+
log "github.com/sirupsen/logrus"
2626
)
2727

2828
type connection struct {

design/design.go

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package design
2+
3+
import . "goa.design/goa/dsl"
4+
5+
var _ = API("arduino-create-agent", func() {
6+
Title("Arduino Create Agent")
7+
Description(`A companion of Arduino Create.
8+
Allows the website to perform operations on the user computer,
9+
such as detecting which boards are connected and upload sketches on them.`)
10+
HTTP(func() {
11+
Path("/v2")
12+
})
13+
})

design/docs.go

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package design
2+
3+
import . "goa.design/goa/dsl"
4+
5+
var _ = Service("docs", func() {
6+
HTTP(func() {
7+
Path("/docs")
8+
})
9+
Files("/pkgs", "docs/pkgs.html")
10+
})

0 commit comments

Comments
 (0)