go_bridge 1.4.3 copy "go_bridge: ^1.4.3" to clipboard
go_bridge: ^1.4.3 copied to clipboard

Provides a bridge to call go libraries via FFI and protobuffer encoded messages

2
likes
140/ 160
pub points
614
downloads

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

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: MPL-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

12441 out of 27296 API elements (45.6 %) have documentation comments.

Some symbols that are missing documentation: any.pb, any.pb.Any, any.pb.Any.Any, any.pb.Any.Any.fromBuffer, any.pb.Any.Any.fromJson.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:go_bridge/helpers.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:go_bridge/helpers.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 395 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/gen/common/basic_error_message.pb.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

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

INFO: Dangling library doc comment.

lib/gen/common/basic_error_message.pbenum.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/gen/common/basic_error_message.pbenum.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^2.0.1 2.1.3 2.1.3
fixnum ^1.0.1 1.1.1 1.1.1
path ^1.8.2 1.9.1 1.9.1
protobuf ^3.0.0 3.1.0 3.1.0
tuple ^2.0.0 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

2
likes
140
points
614
downloads

Publisher

verified publishersquarealfa.com

Weekly Downloads

Provides a bridge to call go libraries via FFI and protobuffer encoded messages

Homepage
Repository (GitLab)
View/report issues
Contributing

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

ffi, fixnum, path, protobuf, tuple

More

Packages that depend on go_bridge