Skip to content

[breaking] Refactor codebase to use a single Sketch struct #1353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 13, 2021
Prev Previous commit
Next Next commit
Clarify a code comment
  • Loading branch information
silvanocerza committed Jul 13, 2021
commit 9cac5aabd058a145b7bfe2a8a27adbba69476e84
2 changes: 1 addition & 1 deletion commands/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ func Upgrade(ctx context.Context, req *rpc.UpgradeRequest, downloadCB DownloadPr

// LoadSketch collects and returns all files composing a sketch
func LoadSketch(ctx context.Context, req *rpc.LoadSketchRequest) (*rpc.LoadSketchResponse, error) {
// TODO: This a ToRpc function for the Sketch struct
// TODO: This should be a ToRpc function for the Sketch struct
sketch, err := sk.New(paths.New(req.SketchPath))
if err != nil {
return nil, fmt.Errorf("error loading sketch %v: %v", req.SketchPath, err)
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy