Skip to content

Commit

Permalink
fix: update some interface documentation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
euiko committed Jun 18, 2021
1 parent 9b6f829 commit 293c007
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (p *Proxy) RawCommands(args ...string) ([]byte, error) {
return p.RawCommandsContext(context.Background(), args...)
}

// RawCommands send inkscape shell commands
// RawCommandsContext send inkscape shell commands that are bounded into specific context
func (p *Proxy) RawCommandsContext(ctx context.Context, args ...string) ([]byte, error) {
buffer := bufferPool.Get()
defer bufferPool.Put(buffer)
Expand All @@ -310,7 +310,7 @@ func (p *Proxy) Svg2Pdf(svgIn, pdfOut string) error {
return p.Svg2PdfContext(context.Background(), svgIn, pdfOut)
}

// Svg2PdfContext convert svg input file to output pdf file
// Svg2PdfContext convert svg input file to output pdf file that are bounded into specific context
func (p *Proxy) Svg2PdfContext(ctx context.Context, svgIn, pdfOut string) error {
res, err := p.RawCommandsContext(
ctx,
Expand Down

0 comments on commit 293c007

Please sign in to comment.