Displaying 1 to 20 from 26 results

render - Go package for easily rendering JSON, XML, binary data, and HTML templates responses.

  •    Go

Render is a package that provides functionality for easily rendering JSON, XML, text, binary data, and HTML templates. This package is based on the Martini render work.Go 1.6 introduces a new block action. This conflicts with Render's included block template function. To provide an easy migration path, a new function was created called partial. It is a duplicate of the old block function. It is advised that all users of the block function update their code to avoid any issues in the future. Previous to Go 1.6, Render's block functionality will continue to work but a message will be logged urging you to migrate to the new partial function.

minify - Go minifiers for web formats

  •    Go

Online demo if you need to minify files now.Command line tool that minifies concurrently and supports watching file changes.

docconv - Converts PDF, DOC, DOCX, XML, HTML, RTF, etc to plain text

  •    Go

A Go wrapper library to convert PDF, DOC, DOCX, XML, HTML, RTF, ODT, Pages documents and images (see optional dependencies below) to plain text. Note for returning users: the Go code path for this pkg been moved to code.sajari.com/docconv. Follow the installation instructions to checkout a version of the code in the correct place.

etree - parse and generate XML easily in go

  •    Go

The etree package is a lightweight, pure go package that expresses XML in the form of an element tree. Its design was inspired by the Python ElementTree module. The following example creates an XML document from scratch using the etree package and outputs its indented contents to stdout.




parse - Go parsers for web formats

  •    Go

This package contains several lexers and parsers written in Go. All subpackages are built to be streaming, high performance and to be in accordance with the official (latest) specifications.The lexers are implemented using buffer.Lexer in https://github.com/tdewolff/buffer and the parsers work on top of the lexers. Some subpackages have hashes defined (using Hasher) that speed up common byte-slice comparisons.

xquery - xquery lets you extract data or evaluate from HTML/XML documents using XPath expression

  •    Go

A golang package, lets you extract data from HTML/XML documents using XPath expression.List of supported XPath functions you can found at XPath Package.

XML-Comp - Compare ANY markup documents.

  •    Go

This package is a command line tool that provides the capability of comparing two directories adding to files the differences between them, creating the possible files or folders that are missing and adding the missing tags on each file. It was made to help RimWorld's community translators(1) to know what was modified on the last XML updates and to let them keep in track of what they need to add/remove from what has been done.OBS: This is not required, by default It's comparing all .xml files that are encountered.

xmlcutty - Select elements from large XML files, fast.

  •    Go

The game ain't in me no more. None of it. xmlcutty is a simple tool for carving out elements from large XML files, fast. Since it works in a streaming fashion, it uses almost no memory and can process around 1G of XML per minute.


zek - Generate a Go struct from XML (prototype).

  •    Go

Zek is a prototype for creating a Go struct from an XML document. Mapping between XML elements and data structures is inherently flawed: an XML element is an order-dependent collection of anonymous values, while a data structure is an order-independent collection of named values.

xml2map - XML to MAP converter written Golang

  •    Go

Sometimes there is a need for the representation of previously unknown structures. Such a universal representation is usually a string in the form of JSON, XML, or the structure of data map. similar to the map[string]interface{} or map[interface{}]interface{}. For example, the map[string]interface{} can be used as a universal type in template generation. Golang "text/template" and etc.

gos - Build and deploy resilient web applications.

  •    Go

Please report all bugs to Github issue tracker. Thank you for your patience.

graphquery - GraphQuery is a query language and execution engine tied to any backend service.

  •    Go

GraphQuery is a query language and execution engine tied to any backend service. It is back-end language independent. GraphQuery is an easy to use query language, it has built-in Xpath/CSS/Regex/JSONpath selectors and enough built-in text processing functions. The most amazing thing is that you can use the minimalist GraphQuery syntax to get any data structure you want.

goxml2json - XML to JSON converter written in Go (no schema, no structs)

  •    Go

Feel free to contribute to this project if you want to fix/extend/improve it.

go-xml - utility and code-generation libraries for XML

  •    Go

Requires go 1.9 or greater for golang.org/x/html dependency. This repository contains a collection of Go packages for working with XML, with the ultimate goal of enabling code generation based on XML documents.

opc - Golang implementation of the Open Packaging Conventions (OPC)

  •    Go

Package opc implements the ISO/IEC 29500-2, also known as the Open Packaging Convention. The Open Packaging specification describes an abstract model and physical format conventions for the use of XML, Unicode, ZIP, and other openly available technologies and specifications to organize the content and resources of a document within a package.

go-junit - 🐜 Go library for ingesting JUnit XML reports

  •    Go

This library has a number of ingestion methods for convenient. The simplest of which parses raw JUnit XML data.

go-xsd-validate - Xsd validation for go based on libxml2

  •    Go

The goal of this package is to preload xsd files into memory and to validate xml (fast) using libxml2, like post bodys of xml service endpoints or api routers. At the time of writing, similar packages I found on github either didn't provide error details or got stuck under load. In addition to providing error strings it also exposes some fields of libxml2 return structs. Check this for a simple http server example and that for an even simpler one.

renderer - Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go

  •    Go

Well, you can parse html template using HTML, View, Template any of these method. These are based on html/template package. When using Template method you can simply pass the base layouts, templates path as a slice of string.