Sample code for 30+ languages & platforms
Go

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Go Downloads

Go
    crypt := chilkat.NewCrypt2()

    filePath := "c:/temp/someFile.dat"

    crc32 := crypt.CrcFile("crc-32",filePath)
    fmt.Println(crc32)

    crc8 := crypt.CrcFile("crc8",filePath)
    fmt.Println(crc8)

    crypt.DisposeCrypt2()