mirror of
https://github.com/dathere/ckanaction.git
synced 2026-05-20 09:54:14 +00:00
fix: update docs and errors with CKANError
This commit is contained in:
parent
677475f750
commit
e5d4f8d442
5 changed files with 18 additions and 11 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
use ckanaction::CKANError;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), CKANError> {
|
||||
// Initialize and build CKAN struct
|
||||
let ckan = ckanaction::CKAN::builder()
|
||||
.url("http://localhost:5000")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue