Skip to content

Commit

Permalink
Refactor every part of options to be pointers and have more dynamics …
Browse files Browse the repository at this point in the history
…when instantiating an option parameter.
  • Loading branch information
Gabriel Cataldo committed Jan 18, 2024
1 parent ea5eec8 commit 88daf65
Show file tree
Hide file tree
Showing 18 changed files with 472 additions and 415 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MongoDB Template
<!--suppress ALL -->
<img align="right" src="gopher-mongo.png" alt="">

[![Project status](https://img.shields.io/badge/version-v1.0.9-vividgreen.svg)](https://github.com/GabrielHCataldo/go-mongo-template/releases/tag/v1.0.9)
[![Project status](https://img.shields.io/badge/version-v1.1.0-vividgreen.svg)](https://github.com/GabrielHCataldo/go-mongo-template/releases/tag/v1.1.0)
[![Go Report Card](https://goreportcard.com/badge/github.com/GabrielHCataldo/go-mongo-template)](https://goreportcard.com/report/github.com/GabrielHCataldo/go-mongo-template)
[![Coverage Status](https://coveralls.io/repos/GabrielHCataldo/go-mongo-template/badge.svg?branch=main&service=github)](https://coveralls.io/github/GabrielHCataldo/go-mongo?branch=main)
[![Open Source Helpers](https://www.codetriage.com/gabrielhcataldo/go-mongo-template/badges/users.svg)](https://www.codetriage.com/gabrielhcataldo/go-mongo)
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/GabrielHCataldo/go-logger v1.0.9 h1:dhg/Zrxl8iygjEO/rQezsZk6v9RCsEnch30hYwUGK8U=
github.com/GabrielHCataldo/go-logger v1.0.9/go.mod h1:xFMqeAgNIh2QK0wYTMbcxByzC2cXOU3mb+olBgXxgl8=
github.com/GabrielHCataldo/go-mongo-template v1.0.2 h1:uqW6kqrx5dyeAF8zrlKSaJXaWjvajfB1Qthz6KxVFwQ=
github.com/GabrielHCataldo/go-mongo-template v1.0.2/go.mod h1:obLk9CTzfKcbWBYxB+3VKMObV/o21HlYkaP/8BVfkUU=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
Expand Down
2 changes: 1 addition & 1 deletion mongo/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type IndexInput struct {
// for examples of valid documents.
Keys any
// Options The options to use to create the index.
Options option.Index
Options *option.Index
// Ref Struct reference contained database and collection tag
Ref any
}
Expand Down
Loading

0 comments on commit 88daf65

Please sign in to comment.