mongo_go 4.6.1 copy "mongo_go: ^4.6.1" to clipboard
mongo_go: ^4.6.1 copied to clipboard

discontinued

Provides a MongoDB driver based on the official GO SDK via Dart FFI meant to be used in Dart server-side code.

12
likes
100/ 140
pub points
14%
popularity

We analyzed this package 5 days ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://gitlab.com/squarealfa/dart_framework/-/tree/main/mongo_go was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://gitlab.com/squarealfa/dart_framework was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: mongo_go,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

112 out of 156 API elements (71.8 %) have documentation comments.

Some symbols that are missing documentation: mongo_go.BulkWriteModel.toProto, mongo_go.BulkWriteOptions.ordered, mongo_go.BulkWriteOptions.toProto, mongo_go.BulkWriteResult.BulkWriteResult.fromProto, mongo_go.Collation.toProto.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:mongo_go/mongo_go.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:mongo_go/mongo_go.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:mongo_go/mongo_go.dart that declares support for platforms: Windows, Linux, macOS.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 297 issues. Showing the first 2:

WARNING: Duplicate export.

lib/src/bulk/bulk.dart:4:8

  ╷
4 │ export 'insert_one_model.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/bulk/bulk.dart

INFO: Dangling library doc comment.

lib/src/gen/aggregate_request.pb.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/gen/aggregate_request.pb.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
args ^2.3.0 2.5.0 2.5.0
bson ^3.0.0 3.0.1 5.0.4
decimal ^2.3.0 2.3.3 2.3.3
ffi ^2.0.1 2.1.2 2.1.2
fixnum ^1.0.1 1.1.0 1.1.0
go_bridge ^1.3.0 1.4.1 1.4.3
meta ^1.8.0 1.15.0 1.15.0
path ^1.8.0 1.9.0 1.9.0
proto_annotations ^2.1.2 2.3.1 3.1.0
protobuf ^2.1.0 2.1.0 3.1.0
pubspec ^2.3.0 2.3.0 2.3.0
tuple ^2.0.0 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.0 3.6.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
google_identity_services_web - 0.3.1+1 0.3.1+1
googleapis_auth - 1.6.0 1.6.0
grpc - 3.2.4 3.2.4
http - 1.2.1 1.2.1
http2 - 2.3.0 2.3.0
http_parser - 4.0.2 4.0.2
matcher - 0.12.16+1 0.12.16+1
packages_extensions - 0.1.0 0.1.0
power_extensions - 0.2.2 0.2.2
pub_semver - 2.1.4 2.1.4
quiver - 3.2.1 3.2.1
rational - 2.2.2 2.2.2
source_span - 1.10.0 1.10.0
squarealfa_common_types - 1.2.1 2.0.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.4.0
web - 0.5.1 0.5.1
yaml - 3.1.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^3.0.0` on bson does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions bson to update the constraint.

The constraint `^2.1.2` on proto_annotations does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions proto_annotations to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

12
likes
100
pub points
14%
popularity

Publisher

verified publishersquarealfa.com

Provides a MongoDB driver based on the official GO SDK via Dart FFI meant to be used in Dart server-side code.

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

args, bson, decimal, ffi, fixnum, go_bridge, meta, path, proto_annotations, protobuf, pubspec, tuple

More

Packages that depend on mongo_go