Skip to content

refac(config): Move config interfaces back into config package #213

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 5 commits into from
Dec 10, 2019

Conversation

mikeproeng37
Copy link
Contributor

Summary

  • Moves the project config struct and project config manager interface from pkg into config so we don't have anything hanging off of the pkg package.
  • Used Goland to to a refactor --> move

Tests

  • Unit tests

Copy link
Contributor

@pawels-optimizely pawels-optimizely left a comment

Choose a reason for hiding this comment

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

please organize imports and fix travis tests (linters)

Copy link
Contributor

@mikecdavis mikecdavis left a comment

Choose a reason for hiding this comment

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

Let's find a better home for version.go as well. Other than that, LGTM!


// Package pkg //
package pkg
package config
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably not the intended file name change :)

Copy link
Contributor

Choose a reason for hiding this comment

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

...referring to interface.go.go

@@ -20,6 +20,7 @@ package event
import (
"errors"
"fmt"
"github.com/optimizely/go-sdk/pkg/config"
Copy link
Contributor

Choose a reason for hiding this comment

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

pkg is still being required. We should probably move version.go as well.

@mikeproeng37 mikeproeng37 merged commit 125346f into master Dec 10, 2019
@mikeproeng37 mikeproeng37 deleted the mng/move-pkg-config branch December 10, 2019 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants