rusq / siebns

Go package to modify Oracle Siebel CRM Gateway Naming file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

siebns Package

https://travis-ci.org/rusq/siebns.svg?branch=master

Package siebns currently only allows fixing the encoded file size in Oracle Siebel CRM Gateway Naming file after making manual modifications to it.

It provides the NSFile structure and member functions to allow loading and fixing the aforementioned files.

Example:

ns,err := siebns.Open("siebns.dat")
if err != nil {
    log.Fatalf("%s", err)
}
defer ns.Close()

if !ns.IsHeaderCorrect() {
    wrote, err := ns.FixSize()
    if err != nil {
        log.Fatalf("Error writing to file:  %s\n", err)
    }
}

Please consult the package documentation for further details.

About

Go package to modify Oracle Siebel CRM Gateway Naming file

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%