Skip to content

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

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.

4 participants