From d5e97dc49df9fea7daa4958f0025860033ca8719 Mon Sep 17 00:00:00 2001 From: Mike Thicke Date: Fri, 26 Sep 2025 13:44:35 -0400 Subject: [PATCH] Export the Work type --- goalex.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/goalex.go b/goalex.go index d309fe8..5531c36 100644 --- a/goalex.go +++ b/goalex.go @@ -2,11 +2,17 @@ // OpenAlex is a free and open catalog of scholarly papers, authors, venues, and more. package goalex -import "github.com/Sunhill666/goalex/pkg/core" +import ( + "github.com/Sunhill666/goalex/internal/model" + "github.com/Sunhill666/goalex/pkg/core" +) // Client represents an HTTP client for interacting with the OpenAlex API. type Client = core.Client +// Work represents an individual paper in the OpenAlex API. +type Work = model.Work + // PolitePool configures the client to use a polite pool with the provided email address. var PolitePool = core.PolitePool