selfcontained

command
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

README

Running this example, e.g. with

$ go run main.go

will create one file person.vmp. This is an example person record written as Vampire file.

You can run the vamp command (see ../../cmd/vamp):

$ vamp -i "  " person.vmp

to dump the example record as JSON:

{
  "ID": 4711,
  "Name": "John Doe",
  "Nicks": [
    "Dowie",
    "Jonny"
  ]
}

Documentation

Overview

Package selfcontained demonstrates how to use the any type to create a self-contained vmp file that can be read without an external type definition.

Jump to

Keyboard shortcuts

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