example1

command
v0.0.0-...-3bdc982 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Web capture tool. Takes snapshots of website content and stores it into sqlite database.

$ sqlite3 data.db < create.sql

Exercises (choose one)

1) Add a new subcommand - e.g. "show" - that takes an ID of a capture and displays the webpage.

2) Add a new subcommand to show all captures of a given URL.

Try to utilize https://jmoiron.github.io/sqlx/#getAndSelect shortcuts to deserialize a row into a WebCapture struct.

Jump to

Keyboard shortcuts

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