- // Copyright (C) 2019 rameshvk. All rights reserved.
// Use of this source code is governed by a MIT-style license
// that can be found in the LICENSE file.
// Package crdt implements CRDT types and associated changes
//
// The main CRDT types are Dict
- // Copyright 2016 The Ebiten Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lice
- package main
import gd "github.com/bolknote/go-gd"
import "fmt"
func main() {
// http://www.php.net/manual/en/function.imagecreatefromjpeg.php
pict := gd.CreateFromJpeg("source.jpg")
// http://www.php.net/manual/en/function.imagedestroy.php
defer
- //autogenerated:yes
//nolint:revive,lll
package mavros_msgs
import (
"github.com/bluenviron/goroslib/v2/pkg/msg"
"github.com/bluenviron/goroslib/v2/pkg/msgs/std_msgs"
)
type ManualControl struct {
msg.Package `ros:"mavros_msgs"`
Header std_msg
- package test
import (
"image/color"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/theme"
)
var defaultTheme fyne.Theme
var _ fyne.Theme = (*configurableTheme)(nil)
type configurableTheme struct {
colors map[fyne.ThemeColorName]color.Color
fonts map[fyne.
- package examples
import (
"fmt"
"io/ioutil"
"github.com/kr/fs"
"github.com/posener/tarfs"
)
// ExampleWalk shows a basic usage of the tarfs package as FileSystem
// for fs.WalkFS function.
func ExampleWalk() {
// use tarfs.NewFile to open tar.gz
- Views: 37
- Keywords: tarfs,
- package examples
import (
"github.com/kr/fs"
"github.com/posener/tarfs"
"github.com/stretchr/testify/assert"
"sort"
"testing"
)
func TestTwoFiles(t *testing.T) {
t.Parallel()
for _, tarFile := range []string{"./root.tar.gz", "./two-files.tar.gz
- Views: 60
- Keywords: tarfs,