doi

package
v0.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataciteProvider

type DataciteProvider struct {
	Name    string
	Verbose int
}

DataciteProvider represents Datacite provider

func (*DataciteProvider) Init

func (d *DataciteProvider) Init()

Init function initializes Datacite publisher

func (*DataciteProvider) Publish

func (d *DataciteProvider) Publish(did, description string, record any) (string, string, error)

Publish provides publication of dataset with did and description

type MCProvider

type MCProvider struct {
	Name    string
	Verbose int
}

MCProvider represents Material Commons provider

func (*MCProvider) Init

func (m *MCProvider) Init()

Init function initializes MaterialsCommons publisher

func (*MCProvider) Publish

func (m *MCProvider) Publish(did, description string, record any) (string, string, error)

Publish provides publication of dataset with did and description

type Provider

type Provider interface {
	Init()
	Publish(did, description string, record any) (string, string, error)
}

type ZenodoProvider

type ZenodoProvider struct {
	Verbose int
}

ZenodoProvider represents Zenodo provider

func (*ZenodoProvider) Init

func (z *ZenodoProvider) Init()

Init function initializes Zenodo provider

func (*ZenodoProvider) Publish

func (z *ZenodoProvider) Publish(did, description string, record any) (string, string, error)

Publish provides publication of dataset with did and description

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL