mongo_go 5.1.4 copy "mongo_go: ^5.1.4" to clipboard
mongo_go: ^5.1.4 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
80/ 140
pub points
9%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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 150 API elements (74.7 %) 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
0 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

ERROR: This requires the 'class-modifiers' language feature to be enabled.

lib/src/lib_mongo_go.dart:646:1

    ╷
646 │ final class max_align_t extends ffi.Opaque {}
    │ ^^^^^
    ╵

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

ERROR: This requires the 'class-modifiers' language feature to be enabled.

lib/src/lib_mongo_go.dart:648:1

    ╷
648 │ final class _GoString_ extends ffi.Struct {
    │ ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/lib_mongo_go.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 ^4.0.0 4.0.0 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.4.3 1.4.3 1.4.3
meta ^1.8.0 1.14.0 1.14.0
path ^1.8.0 1.9.0 1.9.0
proto_annotations ^3.1.0 3.1.0 3.1.0
protobuf ^3.0.0 3.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.4.10 3.4.10
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
convert - 3.1.1 3.1.1
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
js - 0.7.1 0.7.1
json_annotation - 4.8.1 4.8.1
matcher - 0.12.16+1 0.12.16+1
packages_extensions - 0.1.0 0.1.0
pointycastle - 3.9.0 3.9.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
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.

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

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

12
likes
80
pub points
9%
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