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.
5 package sconf // import "gopkg.in/sconf/sconf.v0"
8 "gopkg.in/sconf/internal.v0/internal-"
9 "gopkg.in/sconf/internal.v0/internal-/gcfg"
12 func Must(ptr interface{}) internal.Struct {
13 _ = gcfg.ReadStringInto(ptr, "") // may panic but no parse error
14 return internal.Struct{Ptr: ptr}