df04e5d2c1175db86ddaea9492662dabfda3b62f
[platform/core/system/edge-orchestration.git] / vendor / gopkg.in / sconf / sconf.v0 / sconf.go
1 // Copyright 2015 The Sconf Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package sconf // import "gopkg.in/sconf/sconf.v0"
6
7 import (
8         "gopkg.in/sconf/internal.v0/internal-"
9         "gopkg.in/sconf/internal.v0/internal-/gcfg"
10 )
11
12 func Must(ptr interface{}) internal.Struct {
13         _ = gcfg.ReadStringInto(ptr, "") // may panic but no parse error
14         return internal.Struct{Ptr: ptr}
15 }