Skip to content

Conversation

loreto
Copy link
Contributor

@loreto loreto commented Sep 9, 2022

Summary

Add dummy planners for a bunch of languages; for now they are placeholders that don't do anything, but it sets up the whole structure so we can easily start editing them (or the community can contribute by finding the right file).

In the process refactored the common types and utility functions used by all planners into a plansdk.

Would appreciate a quick review since I'm fearful of constantly running into merge conflicts otherwise (I'm moving the location of the planners everyone is working on)

How was it tested?

go test -v ./...

Maor Langz
// Implements interface Planner (compile-time check)
var _ plansdk.Planner = (*Planner)(nil)

func (g *Planner) Name() string {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be (p *Planner)?

@loreto loreto merged commit f74eb42 into main Sep 9, 2022
@loreto loreto deleted the daniel/moar-langz branch September 9, 2022 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants