Skip to content

Commit

Permalink
Merge pull request #647 from fkmy/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
k1LoW authored Jan 24, 2025
2 parents 6026759 + 42efdb4 commit 25f6252
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions output/gviz/gviz.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func New(c *config.Config) *Gviz {
}
}

// OutputSchema generage image for full relation.
// OutputSchema generate image for full relation.
func (g *Gviz) OutputSchema(wr io.Writer, s *schema.Schema) error {
buf := &bytes.Buffer{}
if err := g.dot.OutputSchema(buf, s); err != nil {
Expand All @@ -44,7 +44,7 @@ func (g *Gviz) OutputSchema(wr io.Writer, s *schema.Schema) error {
return g.render(wr, buf.Bytes())
}

// OutputTable generage image for table.
// OutputTable generate image for table.
func (g *Gviz) OutputTable(wr io.Writer, t *schema.Table) error {
buf := &bytes.Buffer{}
if err := g.dot.OutputTable(buf, t); err != nil {
Expand All @@ -53,7 +53,7 @@ func (g *Gviz) OutputTable(wr io.Writer, t *schema.Table) error {
return g.render(wr, buf.Bytes())
}

// OutputViewpoint generage image for viewpoint.
// OutputViewpoint generate image for viewpoint.
func (g *Gviz) OutputViewpoint(wr io.Writer, v *schema.Viewpoint) error {
buf := &bytes.Buffer{}
if err := g.dot.OutputViewpoint(buf, v); err != nil {
Expand Down

0 comments on commit 25f6252

Please sign in to comment.