Skip to content

Commit

Permalink
Bump goccy/go-graphviz v0.2.2 (#21)
Browse files Browse the repository at this point in the history
* Bump goccy/go-graphviz v0.2.2

* Add --type png
  • Loading branch information
apstndb authored Oct 19, 2024
1 parent 5881854 commit 5bf7e16
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.22.8
require (
cloud.google.com/go/spanner v1.45.0
github.com/apstndb/lox v0.0.0-20230530141045-98c1efebcde8
github.com/goccy/go-graphviz v0.2.0
github.com/goccy/go-graphviz v0.2.2
github.com/jessevdk/go-flags v1.6.1
github.com/olekukonko/tablewriter v0.0.5
github.com/samber/lo v1.47.0
Expand All @@ -18,6 +18,7 @@ require (
)

require (
github.com/flopp/go-findfont v0.1.0 // indirect
github.com/fogleman/gg v1.3.0 // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ github.com/corona10/goimagehash v1.1.0/go.mod h1:VkvE0mLn84L4aF8vCb6mafVajEb6QYM
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/flopp/go-findfont v0.1.0 h1:lPn0BymDUtJo+ZkV01VS3661HL6F4qFlkhcJN55u6mU=
github.com/flopp/go-findfont v0.1.0/go.mod h1:wKKxRDjD024Rh7VMwoU90i6ikQRCr+JTHB5n4Ejkqvw=
github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8=
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/goccy/go-graphviz v0.2.0 h1:3pJq01IdRAukFeW5Bk/bKyfo58cHbmoKbZUzdGwRGW4=
github.com/goccy/go-graphviz v0.2.0/go.mod h1:5Fi28O8Z6xNnGC/+FlDZpAm2xi3Rr/7qmvBEMs4MY8Q=
github.com/goccy/go-graphviz v0.2.2 h1:5Q8eJlU8SiGQtjwkDMtoaz0VMbvn+1NqbzfS/OvXcjw=
github.com/goccy/go-graphviz v0.2.2/go.mod h1:5LlXMuQb+3UcNJGqhtkrfDFlCwrWZ6K0MCJyuP9cl7A=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
Expand Down
2 changes: 1 addition & 1 deletion option/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type Options struct {
Positional struct {
Input string
} `positional-args:"yes"`
TypeFlag string `long:"type" description:"output type" default:"svg" choice:"svg" choice:"dot"` // nolint:staticcheck
TypeFlag string `long:"type" description:"output type" default:"svg" choice:"svg" choice:"dot" choice:"png"` // nolint:staticcheck
Filename string `long:"output"`
NonVariableScalar bool `long:"non-variable-scalar"`
VariableScalar bool `long:"variable-scalar"`
Expand Down

0 comments on commit 5bf7e16

Please sign in to comment.