This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main_test | |
import ( | |
"database/sql" | |
"encoding/json" | |
"testing" | |
"github.com/bokwoon95/sq" | |
"github.com/wroge/scan" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
components: | |
schemas: | |
AnswerCountValidator: | |
properties: | |
maxCount: | |
maximum: 255 | |
minimum: 0 | |
type: integer | |
minCount: | |
maximum: 255 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Schema: { | |
data?: {[string]: #Any} | |
allowCompleteAutomatic?: bool | |
calculatedValues?: [...#CalculatedValue] | |
checkErrorsMode?: "onNextPage" | "onValueChanged" | "onComplete" | |
clearInvisibleValues?: "none" | "onHidden" | "onComplete" | |
clearValueOnDisableItems?: bool | |
clientId?: string | |
commentPrefix?: string | |
completedBeforeHtml?: string | #LocaleString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "SurveyJS Library json schema", | |
"type": "object", | |
"properties": { | |
"pages": { | |
"type": "array", | |
"items": { | |
"$ref": "#/definitions/page" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/wroge/wgs84" | |
) | |
func main() { | |
mgi := wgs84.Helmert(6377397.155, 299.1528128, 577.326, 90.129, 463.919, 5.137, 1.474, 5.297, 2.4232) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/wroge/wgs84" | |
) | |
func main() { | |
lon := 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
"github.com/wroge/wgs84" | |
) | |
type PixelMercator struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
"github.com/wroge/wgs84" | |
) | |
func main() { |