Skip to content

Commit

Permalink
removed the .git postfix on module name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Toffia committed May 13, 2020
1 parent e3f2237 commit 9d72811
Show file tree
Hide file tree
Showing 21 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It is also possible to generate object, _JSON_ reports to e.g. use with [CDK](ht
Only string value (**not binary**) for Secrets Manager is currently supported!

How to use it; in the `go-mod` include the follwing requirement
`require github.com/mariotoffia/ssm.git v0.3.0`
`require github.com/mariotoffia/ssm v0.4.0`

The intention to this library to simplify fetching & upserting one or more parameters, secrets blended with other settings. It is also intended to be as efficient as possible and hence possible to filter, exclude or include, which properties that should participate in `Unmarshal` or `Marshal` operation. It uses go standard _Tag_ support to direct the `Serializer` how to `Marshal` or `Unmarshal` the data. For example

Expand Down
2 changes: 1 addition & 1 deletion cdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ssm-cdk-generator",
"version": "1.0.5",
"description": "This is a CDK generator that takes the go github.com/mariotoffia/ssm.git Report and produces CDK objects",
"description": "This is a CDK generator that takes the go github.com/mariotoffia/ssm Report and produces CDK objects",
"main": "app/index.js",
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/mariotoffia/ssm.git
module github.com/mariotoffia/ssm

require (
github.com/aws/aws-sdk-go-v2 v0.22.0
Expand Down
4 changes: 2 additions & 2 deletions internal/asm/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/secretsmanager"
"github.com/google/uuid"
"github.com/mariotoffia/ssm.git/internal/common"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm/internal/common"
"github.com/mariotoffia/ssm/parser"
"github.com/rs/zerolog/log"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/asm/serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"github.com/aws/aws-sdk-go-v2/aws/awserr"
"github.com/aws/aws-sdk-go-v2/aws/external"
"github.com/aws/aws-sdk-go-v2/service/secretsmanager"
"github.com/mariotoffia/ssm.git/internal/common"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/common"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/support"
"github.com/pkg/errors"
"github.com/rs/zerolog/log"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/asm/serializer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"reflect"
"testing"

"github.com/mariotoffia/ssm.git/internal/testsupport"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/testsupport"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/support"
"github.com/rs/zerolog/log"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/asm/tagparser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package asm

import (
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm/parser"
)

type tagParser struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/asm/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package asm
import (
"strings"

"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm/parser"
)

// ParamTier specifies the parameter tier such as std, adv, or intelligent.
Expand Down
2 changes: 1 addition & 1 deletion internal/common/serializerutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"strconv"

"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm/parser"
"github.com/pkg/errors"
"github.com/rs/zerolog/log"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/pms/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/mariotoffia/ssm.git/internal/common"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/common"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/support"
"github.com/pkg/errors"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/pms/serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/aws/external"
"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/mariotoffia/ssm.git/internal/common"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/common"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/support"
"github.com/pkg/errors"
"github.com/rs/zerolog/log"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/pms/serializer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"reflect"
"testing"

"github.com/mariotoffia/ssm.git/internal/testsupport"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/testsupport"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/support"
"github.com/rs/zerolog/log"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/pms/tagparser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package pms

import (
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm/parser"
)

type tagParser struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/pms/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm/parser"
)

// ParamTier specifies the parameter tier such as std, adv, or intelligent.
Expand Down
2 changes: 1 addition & 1 deletion internal/testsupport/teststructs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package testsupport

import "github.com/mariotoffia/ssm.git/support"
import "github.com/mariotoffia/ssm/support"

// SingleStringPmsStruct with single string
type SingleStringPmsStruct struct {
Expand Down
2 changes: 1 addition & 1 deletion parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package parser
import (
"reflect"

"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/support"
"github.com/pkg/errors"
"github.com/rs/zerolog/log"
)
Expand Down
2 changes: 1 addition & 1 deletion parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

"github.com/mariotoffia/ssm.git/internal/testsupport"
"github.com/mariotoffia/ssm/internal/testsupport"
"github.com/stretchr/testify/assert"
)

Expand Down
10 changes: 5 additions & 5 deletions report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"encoding/json"

"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/mariotoffia/ssm.git/internal/asm"
"github.com/mariotoffia/ssm.git/internal/common"
"github.com/mariotoffia/ssm.git/internal/pms"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/asm"
"github.com/mariotoffia/ssm/internal/common"
"github.com/mariotoffia/ssm/internal/pms"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/support"
"github.com/rs/zerolog/log"
)

Expand Down
10 changes: 5 additions & 5 deletions report/report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"testing"

"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/mariotoffia/ssm.git/internal/asm"
"github.com/mariotoffia/ssm.git/internal/pms"
"github.com/mariotoffia/ssm.git/internal/testsupport"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/asm"
"github.com/mariotoffia/ssm/internal/pms"
"github.com/mariotoffia/ssm/internal/testsupport"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/support"
"github.com/stretchr/testify/assert"
)

Expand Down
10 changes: 5 additions & 5 deletions serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/mariotoffia/ssm.git/internal/asm"
"github.com/mariotoffia/ssm.git/internal/pms"
"github.com/mariotoffia/ssm.git/parser"
"github.com/mariotoffia/ssm.git/report"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/asm"
"github.com/mariotoffia/ssm/internal/pms"
"github.com/mariotoffia/ssm/parser"
"github.com/mariotoffia/ssm/report"
"github.com/mariotoffia/ssm/support"
)

// Usage determines how the tags on the structs are evaluated
Expand Down
4 changes: 2 additions & 2 deletions serializer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"testing"

"github.com/mariotoffia/ssm.git/internal/testsupport"
"github.com/mariotoffia/ssm.git/support"
"github.com/mariotoffia/ssm/internal/testsupport"
"github.com/mariotoffia/ssm/support"
"github.com/rs/zerolog/log"
"github.com/stretchr/testify/assert"
)
Expand Down

0 comments on commit 9d72811

Please sign in to comment.