FFI-Platypus-Lang-Go

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "requires" : {
            "Capture::Tiny" : "0",
            "Class::Method::Modifiers" : "0",
            "FFI::Build::File::Base" : "0",
            "FFI::Build::File::Library" : "0",
            "FFI::Build::Platform" : "0",
            "FFI::Platypus" : "1.24",
            "File::ShareDir::Dist" : "0.07",
            "File::chdir" : "0",
            "Path::Tiny" : "0",
            "Ref::Util" : "0",
            "perl" : "5.008001"
         }
      },
      "test" : {
         "requires" : {
            "Test2::V0" : "0.000121",
            "perl" : "5.008001"
         }
      }
   },

META.yml  view on Meta::CPAN

requires:
  Capture::Tiny: '0'
  Class::Method::Modifiers: '0'
  FFI::Build::File::Base: '0'
  FFI::Build::File::Library: '0'
  FFI::Build::Platform: '0'
  FFI::Platypus: '1.24'
  File::ShareDir::Dist: '0.07'
  File::chdir: '0'
  Path::Tiny: '0'
  Ref::Util: '0'
  perl: '5.008001'
resources:
  IRC: irc://irc.perl.org/#native
  Twitter: https://fosstodon.org/@PerlFFI
  bugtracker: https://github.com/PerlFFI/FFI-Platypus-Lang-Go/issues
  homepage: https://metacpan.org/pod/FFI::Platypus::Lang::Go
  repository: git://github.com/PerlFFI/FFI-Platypus-Lang-Go.git
version: '0.03'
x_contributors:
  - 'Graham Ollis <plicease@cpan.org>'

Makefile.PL  view on Meta::CPAN

  "PREREQ_PM" => {
    "Capture::Tiny"             => 0,
    "Class::Method::Modifiers"  => 0,
    "FFI::Build::File::Base"    => 0,
    "FFI::Build::File::Library" => 0,
    "FFI::Build::Platform"      => 0,
    "FFI::Platypus"             => "1.24",
    "File::ShareDir::Dist"      => "0.07",
    "File::chdir"               => 0,
    "Path::Tiny"                => 0,
    "Ref::Util"                 => 0
  },
  "TEST_REQUIRES" => {
    "Test2::V0" => "0.000121"
  },
  "VERSION" => "0.03",
  "test"    => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "Capture::Tiny"             => 0,
  "Class::Method::Modifiers"  => 0,
  "FFI::Build::File::Base"    => 0,
  "FFI::Build::File::Library" => 0,
  "FFI::Build::Platform"      => 0,
  "FFI::Platypus"             => "1.24",
  "File::ShareDir::Dist"      => "0.07",
  "File::chdir"               => 0,
  "Path::Tiny"                => 0,
  "Ref::Util"                 => 0,
  "Test2::V0"                 => "0.000121"
);

unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}

lib/FFI/Platypus/Type/GoString.pm  view on Meta::CPAN

package FFI::Platypus::Type::GoString;

use strict;
use warnings;
use FFI::Platypus 1.24;
use FFI::Go::String;
use Ref::Util qw( is_blessed_ref );

# ABSTRACT: Go String type for Platypus
our $VERSION = '0.03'; # VERSION


sub ffi_custom_type_api_1
{
  return {
    native_type => 'record(FFI::Go::String)',
    perl_to_native => sub {

t/00_diag.t  view on Meta::CPAN

  Class::Method::Modifiers
  ExtUtils::MakeMaker
  FFI::Build::File::Base
  FFI::Build::File::Library
  FFI::Build::Platform
  FFI::Platypus
  File::ShareDir::Dist
  File::ShareDir::Dist::Install
  File::chdir
  Path::Tiny
  Ref::Util
  Test2::V0
);

$post_diag = sub {
  use Capture::Tiny qw( capture_merged );
  diag capture_merged {
    system 'go', 'version';
    ();
  };
};



( run in 0.269 second using v1.01-cache-2.11-cpan-4d50c553e7e )