Skip to content

Commit c34a26c

Browse files
committed
Merge pull request #6 from optimizely/move_struct
Moves structs to be with other structs
2 parents 042499f + 87c6917 commit c34a26c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

optimizely/entities.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,10 @@ type ProjectConfig struct {
5656
Attributes []AttributeEntity `json:"attributes"`
5757
Audiences []AudienceEntity `json:"audiences"`
5858
}
59+
60+
// OptimizelyClient is the client to interface with the Optimizely server
61+
// side APIs.
62+
type OptimizelyClient struct {
63+
account_id string
64+
project_config ProjectConfig
65+
}

optimizely/optimizely.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ import (
55
"net/url"
66
)
77

8-
// OptimizelyClient is the client to interface with the Optimizely server
9-
// side APIs.
10-
type OptimizelyClient struct {
11-
account_id string
12-
project_config ProjectConfig
13-
}
14-
158
// GetOptimizelyClient returns a client that can be used to interface
169
// with Optimizely
1710
func GetOptimizelyClient(account_id string) (*OptimizelyClient, error) {

0 commit comments

Comments
 (0)